Skip to content

Commit 5edaa2e

Browse files
committed
Update docker base images
1 parent 7bf0775 commit 5edaa2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM node:16.15-alpine3.15 AS build_node
1+
FROM node:18-alpine AS build_node
22
COPY frontend /tmp/ssl-game-controller/frontend
33
WORKDIR /tmp/ssl-game-controller/frontend
44
RUN npm install
55
RUN npm run build
66

7-
FROM golang:1.19-alpine3.15 AS build_go
7+
FROM golang:1.20-alpine AS build_go
88
WORKDIR /go/src/github.com/RoboCup-SSL/ssl-game-controller
99
COPY cmd cmd
1010
COPY internal internal
@@ -16,7 +16,7 @@ COPY --from=build_node /tmp/ssl-game-controller/frontend/dist frontend/dist
1616
RUN go install -v ./cmd/ssl-game-controller
1717

1818
# Start fresh from a smaller image
19-
FROM alpine:3.17
19+
FROM alpine:3
2020
COPY --from=build_go /go/bin/ssl-game-controller /app/ssl-game-controller
2121
RUN mkdir -p config && chown -R 1000: config
2222
USER 1000

0 commit comments

Comments
 (0)