Skip to content

Commit bac8675

Browse files
Revert "use alpine instead of debian"
This reverts commit 6e6f898.
1 parent d0a381e commit bac8675

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
FROM alpine:edge
1+
FROM debian:stable-slim
22

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

514
COPY main.sh /main.sh
615
COPY gen.sh /gen.sh

0 commit comments

Comments
 (0)