This commit is contained in:
Andras Bacsai 2023-05-16 10:09:10 +02:00
parent c44d7de143
commit d93dcd2a6c
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
FROM serversideup/php:8.2-fpm-nginx
ARG POSTGRES_VERSION=15
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs postgresql-client
RUN apt-get -y autoremove &&
apt-get clean &&
RUN apt-get -y autoremove \
apt-get clean \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
RUN echo "alias ll='ls -al'" >>/etc/bash.bashrc

View File

@ -8,8 +8,8 @@ FROM serversideup/php:8.2-fpm-nginx
WORKDIR /var/www/html
ARG POSTGRES_VERSION=15
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs
RUN apt-get -y autoremove &&
apt-get clean &&
RUN apt-get -y autoremove \
apt-get clean \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
COPY composer.json composer.lock ./