Skip to content

Commit ceb75eb

Browse files
mads-hartmannroboquat
authored andcommitted
Improve layer caching by moving apk commands up
1 parent 034f74b commit ceb75eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/installer/leeway.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
FROM alpine:3.16
66
COPY --from=alpine/helm:3.8.0 /usr/bin/helm /usr/bin/helm
7-
COPY install-installer--app/installer install-installer--app/provenance-bundle.jsonl /app/
8-
COPY scripts/*.sh /app/scripts/
97
RUN apk add --no-cache curl jq openssh-keygen yq \
108
&& curl -L "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" -o /usr/local/bin/kubectl \
119
&& chmod +x /usr/local/bin/kubectl
10+
COPY install-installer--app/installer install-installer--app/provenance-bundle.jsonl /app/
11+
COPY scripts/*.sh /app/scripts/
1212
ENTRYPOINT [ "/app/installer" ]
1313
CMD [ "help" ]

0 commit comments

Comments
 (0)