docker: build with alpine 3.18 (from 3.15)

This commit is contained in:
Saj Goonatilleke 2023-06-14 01:40:43 +10:00
parent 4621c64c2f
commit a2b1e30b12
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
FROM golang:1-alpine3.15 AS builder
FROM golang:1-alpine3.18 AS builder
RUN apk -v --no-progress --no-cache add git
WORKDIR /root/src
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
@ -22,7 +22,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& ( find /tmp -mindepth 1 -delete || true )
COPY --from=builder \
/root/src/discourse-auth-proxy \
/src/discourse-auth-proxy \
/usr/local/bin/discourse-auth-proxy
COPY docker-entrypoint /usr/local/bin/docker-entrypoint