Skip to content

Commit feb965c

Browse files
committed
revert: dockerfile test changes
1 parent 6af24c1 commit feb965c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------- dev stage for developers to override sources
22
FROM node:20.19.5-alpine as dev
33

4-
RUN apk --no-cache add make gcc g++ python3 git jq
4+
RUN apk --no-cache add make gcc g++ python3
55
ENV NODE_ENV=development
66

77
RUN mkdir /app
@@ -12,12 +12,9 @@ COPY package*.json ./
1212
RUN echo "SKIP_PREFLIGHT_CHECK=true" > .env
1313
RUN echo "EXTEND_ESLINT=true" >> .env
1414

15+
RUN echo "@linode:registry=https://npm.pkg.github.com/linode" > .npmrc
1516
RUN --mount=type=secret,id=NPM_TOKEN \
16-
echo "@linode:registry=https://npm.pkg.github.com/" > .npmrc && \
17-
echo "//npm.pkg.github.com/:_authToken=$(cat /run/secrets/NPM_TOKEN)" >> .npmrc && \
18-
echo "DEBUG: .npmrc created with token" && \
19-
cat .npmrc | sed 's/ghp_[a-zA-Z0-9]*/ghp_REDACTED/' && \
20-
test -s /run/secrets/NPM_TOKEN && echo "DEBUG: Secret file exists and is not empty" || echo "DEBUG: Secret file is empty or missing"
17+
echo "//npm.pkg.github.com/:_authToken=$(cat /run/secrets/NPM_TOKEN)" >> .npmrc
2118

2219
RUN npm ci
2320

0 commit comments

Comments
 (0)