docker-phalcon
docker-phalcon copied to clipboard
Run Dockerfile failed on Win 11 + Docker
Hi I tried to run the docker file from apache-7.4 with pahlcon-4.1.2. It had build the image but didn't start a container. I'm super new to docker and asking for some help here :)
this is my output when I run the docker file in my intellij
Deploying 'apache-7-4-phalcon-4-1-2 Dockerfile: 7.4/apache/Dockerfile'�
Building image�
Preparing build context archive�
[==================================================>]1/1 files
Done
Sending build context to Docker daemon�
[==================================================>] 594,0B
Done
Step 1/7 : FROM php:7.4-apache
---> 20a3732f422b
Step 2/7 : LABEL maintainer="MilesChou <github.com/MilesChou>, fizzka <github.com/fizzka>"
---> Using cache
---> d345afa5ccef
Step 3/7 : ARG PSR_VERSION=1.1.0
---> Using cache
---> 7706539c8a52
Step 4/7 : ARG PHALCON_VERSION=4.1.2
---> Using cache
---> 1ebc79e04b89
Step 5/7 : ARG PHALCON_EXT_PATH=php7/64bits
---> Using cache
---> 0bfa4ddac463
Step 6/7 : RUN set -xe && curl -LO https://github.com/jbboehr/php-psr/archive/v${PSR_VERSION}.tar.gz && tar xzf ${PWD}/v${PSR_VERSION}.tar.gz && curl -LO https://github.com/phalcon/cphalcon/archive/v${PHALCON_VERSION}.tar.gz && tar xzf ${PWD}/v${PHALCON_VERSION}.tar.gz && docker-php-ext-install -j $(getconf _NPROCESSORS_ONLN) ${PWD}/php-psr-${PSR_VERSION} ${PWD}/cphalcon-${PHALCON_VERSION}/build/${PHALCON_EXT_PATH} && rm -r ${PWD}/v${PSR_VERSION}.tar.gz ${PWD}/php-psr-${PSR_VERSION} ${PWD}/v${PHALCON_VERSION}.tar.gz ${PWD}/cphalcon-${PHALCON_VERSION} && php -m
---> Using cache
---> 011a4405bc21
Step 7/7 : COPY docker-phalcon-* /usr/local/bin/
Error response from daemon: COPY failed: no source files were specified
Failed to deploy 'apache-7-4-phalcon-4-1-2 Dockerfile: 7.4/apache/Dockerfile': Can't retrieve image ID from build stream
Hi! It seems like you are missing required files from build context.
could you provide your full build command?