Skip to content

Commit f12b8ba

Browse files
authored
Merge pull request #1 from swade1987/fix
Upgrading alpine version.
2 parents d903f40 + 77299a1 commit f12b8ba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Dockerfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM alpine:3.14.3
1+
FROM alpine:3.15.4
22

3-
RUN apk add --no-cache \
4-
curl \
5-
bash \
6-
git \
7-
&& rm -rf /var/cache/apk/*
3+
RUN apk update && apk --no-cache add bash curl git
84

95
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
106

117
RUN curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv3.8.7/kustomize_v3.8.7_linux_amd64.tar.gz \
12-
| tar xz -C /usr/local/bin
8+
| tar xz -C /usr/local/bin
9+
10+
RUN git config --global --add safe.directory /github/workspace
11+
12+
RUN rm -rf /var/cache/apk/*
1313

1414
COPY kustdiff /kustdiff
1515

0 commit comments

Comments
 (0)