Skip to content

Commit e7187d0

Browse files
committed
Fix kubeeval Dockerfile
1 parent 438c9b1 commit e7187d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ts/demo-functions/build/kubeval.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10-alpine as builder
1+
FROM node:lts-alpine as builder
22

33
RUN mkdir -p /home/node/app && \
44
chown -R node:node /home/node/app
@@ -9,7 +9,7 @@ WORKDIR /home/node/app
99

1010
# Install dependencies and cache them.
1111
COPY --chown=node:node package*.json ./
12-
RUN npm ci
12+
RUN npm ci --ignore-scripts
1313

1414
# Build the source.
1515
COPY --chown=node:node tsconfig.json .
@@ -20,7 +20,7 @@ RUN npm run build && \
2020

2121
#############################################
2222

23-
FROM node:10-alpine
23+
FROM node:lts-alpine
2424

2525
RUN apk add curl && \
2626
curl -sSLf https://github.com/instrumenta/kubeval/releases/download/0.14.0/kubeval-linux-amd64.tar.gz | \

0 commit comments

Comments
 (0)