Skip to content

Commit

Permalink
php
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Nov 4, 2024
1 parent a08f757 commit fb80431
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions apps/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ ENV DEBIAN_FRONTEND=noninteractive


# replace apt repository for php7.0/5.6 image
RUN sed -i 's|deb http://deb.debian.org/debian stretch|deb http://archive.debian.org/debian stretch|g' /etc/apt/sources.list && \
sed -i '/stretch-updates/d' /etc/apt/sources.list && \
sed -i 's|deb http://security.debian.org/debian-security stretch/updates|deb http://archive.debian.org/debian-security stretch/updates|g' /etc/apt/sources.list && \
apt update
RUN sed -i 's|deb http://deb.debian.org/debian stretch|deb http://archive.debian.org/debian stretch|g' /etc/apt/sources.list || true && \
sed -i '/stretch-updates/d' /etc/apt/sources.list || true && \
sed -i 's|deb http://security.debian.org/debian-security stretch/updates|deb http://archive.debian.org/debian-security stretch/updates|g' /etc/apt/sources.list || true

RUN apt install -y crudini
RUN apt update && apt install -y crudini


COPY src/extensions.ini /usr/local/bin/config.ini
Expand Down

0 comments on commit fb80431

Please sign in to comment.