updated Dockerfile to match golang version in the go.mod file.
This commit is contained in:
parent
61d735bbad
commit
2474d3cddf
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.22-alpine3.20 AS builder
|
FROM golang:1.24-alpine3.21 AS builder
|
||||||
|
|
||||||
ADD . /root/wingmate
|
ADD . /root/wingmate
|
||||||
WORKDIR /root/wingmate/
|
WORKDIR /root/wingmate/
|
||||||
@ -9,7 +9,7 @@ RUN apk update && apk add git make build-base && \
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.20
|
FROM alpine:3.21
|
||||||
|
|
||||||
RUN apk add tzdata && ln -s /usr/share/zoneinfo/Australia/Sydney /etc/localtime && \
|
RUN apk add tzdata && ln -s /usr/share/zoneinfo/Australia/Sydney /etc/localtime && \
|
||||||
adduser -h /home/user1 -D -s /bin/sh user1 && \
|
adduser -h /home/user1 -D -s /bin/sh user1 && \
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.22-bookworm AS builder
|
FROM golang:1.24-bookworm AS builder
|
||||||
|
|
||||||
ADD . /root/wingmate
|
ADD . /root/wingmate
|
||||||
WORKDIR /root/wingmate/
|
WORKDIR /root/wingmate/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user