We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3efc440 commit 5b47524Copy full SHA for 5b47524
Dockerfile
@@ -1,10 +1,10 @@
1
-FROM ubuntu:latest
+FROM alpine:latest
2
3
-RUN apt update
4
-RUN apt install -y wget
5
-
6
-RUN wget https://github.com/mikefarah/yq/releases/download/v4.46.1/yq_linux_amd64 -O /usr/local/bin/yq
7
-RUN chmod +x /usr/local/bin/yq
+RUN apk add --no-cache bash wget && \
+ wget https://github.com/mikefarah/yq/releases/download/v4.46.1/yq_linux_amd64 -O /usr/local/bin/yq && \
+ chmod +x /usr/local/bin/yq && \
+ apk del wget && \
+ rm -rf /var/cache/apk/*
8
9
WORKDIR /action/workspace
10
COPY entrypoint.sh /entrypoint.sh
0 commit comments