Skip to content

Commit

Permalink
chore(build): fix golang and alpine version
Browse files Browse the repository at this point in the history
As standard build is done with concourse, we need to manage those version in docker file.
  • Loading branch information
o-orand committed Mar 6, 2024
1 parent 4f09576 commit 5580ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang AS builder
FROM golang:1.21.6 AS builder
ADD . /go/src/github.com/telia-oss/github-pr-resource
WORKDIR /go/src/github.com/telia-oss/github-pr-resource
RUN curl -sL https://taskfile.dev/install.sh | sh /dev/stdin v3.33.1
RUN ./bin/task build

FROM alpine AS resource
FROM alpine:3.19.1 AS resource
COPY --from=builder /go/src/github.com/telia-oss/github-pr-resource/build /opt/resource
RUN apk add --update --no-cache \
git \
Expand Down

0 comments on commit 5580ba3

Please sign in to comment.