Skip to content

Commit

Permalink
Revert "use alpine instead of debian"
Browse files Browse the repository at this point in the history
This reverts commit 6e6f898.
  • Loading branch information
chuckwagoncomputing committed Apr 20, 2024
1 parent d0a381e commit bac8675
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
FROM alpine:edge
FROM debian:stable-slim

RUN apk add minify yq bash perl coreutils
RUN DEBIAN_FRONTEND=noninteractive apt-get update &&\
apt-get install -y wget &&\
wget https://github.com/mikefarah/yq/releases/download/v4.30.8/yq_linux_amd64 &&\
chmod a+x yq_linux_amd64 &&\
mv yq_linux_amd64 /usr/bin/yq &&\
wget https://github.com/tdewolff/minify/releases/download/v2.12.4/minify_linux_amd64.tar.gz &&\
tar -xzf minify_linux_amd64.tar.gz &&\
chmod a+x minify &&\
mv minify /usr/bin/ &&\
apt-get autoremove -y && apt-get clean -y

COPY main.sh /main.sh
COPY gen.sh /gen.sh
Expand Down

0 comments on commit bac8675

Please sign in to comment.