File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# ###################
44FROM node:22.16.0-alpine AS client
55
6- RUN apk update && apk --no-cache --virtual build-dependencies add make git bash python3 gcc g++
6+ RUN apk update && apk upgrade --no-cache && apk --no-cache --virtual build-dependencies add make git bash python3 gcc g++
77
88# build package manifest layer
99RUN mkdir -p /ratel/client
1010WORKDIR /ratel/client
1111COPY ./client/package.json /ratel/client
12- RUN npm install --legacy-peer-deps --no-optional
12+ RUN npm install --legacy-peer-deps
1313
1414# copy all assets and build
1515COPY . /ratel
@@ -18,7 +18,7 @@ RUN npm run build:prod
1818# #####
1919# Build Server
2020# ###################
21- FROM golang:1.23.10 -alpine3.22 AS server
21+ FROM golang:1.26.2 -alpine3.22 AS server
2222ENV PATH="/go/bin:$PATH"
2323
2424
@@ -38,6 +38,7 @@ RUN ./scripts/build.prod.sh --server
3838FROM alpine:3.22 AS final
3939
4040RUN apk add --no-cache ca-certificates && \
41+ apk upgrade --no-cache && \
4142 addgroup -g 1000 dgraph && \
4243 adduser -u 1000 -G dgraph -s /bin/sh -D dgraph
4344# copy server artifact w/ embedded client artifact (bindata) to final stage
You can’t perform that action at this time.
0 commit comments