Skip to content

Commit

Permalink
fix: include npm in base image
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadnassri committed Aug 9, 2023
1 parent e6d1edf commit 4d4e33f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FROM alpine:3.18 AS base
# hadolint ignore=DL3018
RUN apk add --no-cache --update \
nodejs=18.17.0-r0 \
npm=9.6.6-r0 \
git=2.40.1-r0 \
openssh=9.3_p2-r0 \
ca-certificates=20230506-r0 \
Expand All @@ -19,9 +20,6 @@ WORKDIR /action

FROM base AS build

# hadolint ignore=DL3018
RUN apk add --no-cache npm=9.6.6-r0

# slience npm
# hadolint ignore=DL3059
RUN npm config set update-notifier=false audit=false fund=false
Expand Down

0 comments on commit 4d4e33f

Please sign in to comment.