Skip to content

Commit

Permalink
Update alpine and go version
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran committed Apr 26, 2023
1 parent 458518e commit dcc28ac
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM golang:1.15-alpine as builder
FROM golang:1.20-alpine as builder

#ENV CGO_ENABLED=0
WORKDIR /build
COPY go.mod go.sum *.go ./
COPY cmd/ ./cmd
COPY . .

RUN go build -o codenotify ./cmd/codenotify

FROM alpine:3.12
FROM alpine:3

# hadolint ignore=DL3018
RUN apk add --no-cache git
Expand Down

0 comments on commit dcc28ac

Please sign in to comment.