This commit is contained in:
parent
8e9878b79f
commit
aa07c3d229
@ -40,8 +40,6 @@ RUN apk add --no-cache \
|
||||
curl \
|
||||
git \
|
||||
openssh \
|
||||
python3 \
|
||||
py3-pip \
|
||||
php-pear \
|
||||
gcc g++ make autoconf libtool linux-headers
|
||||
|
||||
@ -52,11 +50,10 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg && \
|
||||
docker-php-ext-enable redis
|
||||
|
||||
# Clean up build tools
|
||||
RUN apk del gcc g++ make autoconf php-dev libtool
|
||||
RUN apk del gcc g++ make autoconf libtool
|
||||
|
||||
# Install Ansible
|
||||
RUN pip install --no-cache-dir ansible
|
||||
|
||||
RUN apk add --no-cache ansible
|
||||
# Copy built app from previous stage
|
||||
COPY --from=build /app /var/www
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user