docker: build with alpine 3.18 (from 3.15)
This commit is contained in:
parent
4621c64c2f
commit
a2b1e30b12
|
@ -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
|
RUN apk -v --no-progress --no-cache add git
|
||||||
|
|
||||||
WORKDIR /root/src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
@ -22,7 +22,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
|
||||||
&& ( find /tmp -mindepth 1 -delete || true )
|
&& ( find /tmp -mindepth 1 -delete || true )
|
||||||
|
|
||||||
COPY --from=builder \
|
COPY --from=builder \
|
||||||
/root/src/discourse-auth-proxy \
|
/src/discourse-auth-proxy \
|
||||||
/usr/local/bin/discourse-auth-proxy
|
/usr/local/bin/discourse-auth-proxy
|
||||||
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
|
COPY docker-entrypoint /usr/local/bin/docker-entrypoint
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue