Skip to content

Commit

Permalink
Downgrade nix-channels to bullseye, remove php-related dependencies i…
Browse files Browse the repository at this point in the history
…n base image

Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Dec 2, 2023
1 parent c7a7fed commit 818c033
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ FROM debian:buster
LABEL maintainer="Miao Wang <[email protected]>"

RUN apt-get update && \
apt-get install --no-install-recommends -y wget curl rsync lftp git jq python3-dev python3-pip yum-utils createrepo aria2 ack composer php-curl php-zip libnss-unknown xz-utils patch unzip openssh-client debmirror
apt-get install --no-install-recommends -y \
wget curl rsync lftp git jq python3-dev python3-pip \
yum-utils createrepo debmirror \
libnss-unknown xz-utils patch unzip \
aria2 ack openssh-client
# composer php-curl php-zip

RUN if [ "$(uname -m)" != "x86_64" -a "$(uname -m)" != "i386" ]; then \
apt-get install --no-install-recommends -y libxml2-dev libxslt1-dev zlib1g-dev libssl-dev libffi-dev ;\
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/nix-channels/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM debian:bookworm
LABEL maintainer="WANG Ruikang <[email protected]>"
FROM debian:bullseye
LABEL maintainer="Wang Ruikang <[email protected]>"

RUN apt-get update && \
apt-get install -y python3-dev python3-pip curl
Expand Down

0 comments on commit 818c033

Please sign in to comment.