Skip to content

Commit 24b495b

Browse files
committed
build: upgrade npm
1 parent 595617c commit 24b495b

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN apk --update add --no-cache \
2121
curl \
2222
git \
2323
jq
24+
RUN npm upgrade -g npm
2425
COPY --from=go /go/bin/hub /usr/local/bin/hub
2526
COPY --from=yq /tmp/yq /usr/local/bin/yq
2627
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

Dockerfile-debian

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN apt update \
2525
git \
2626
jq \
2727
&& ln -s /bin/busybox /usr/bin/[[
28+
RUN npm upgrade -g npm
2829
COPY --from=go /go/bin/hub /usr/local/bin/hub
2930
COPY --from=yq /tmp/yq /usr/local/bin/yq
3031
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

Dockerfile-debian-rootless

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN apt update \
2424
git \
2525
jq \
2626
&& ln -s /bin/busybox /usr/bin/[[
27+
RUN npm upgrade -g npm
2728
COPY --from=go /go/bin/hub /usr/local/bin/hub
2829
COPY --from=yq /tmp/yq /usr/local/bin/yq
2930
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

Dockerfile-rootless

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN apk --update add --no-cache \
2121
curl \
2222
git \
2323
jq
24+
RUN npm upgrade -g npm
2425
COPY --from=go /go/bin/hub /usr/local/bin/hub
2526
COPY --from=yq /tmp/yq /usr/local/bin/yq
2627
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

0 commit comments

Comments
 (0)