adds specific versions to all the containers used
This commit is contained in:
parent
9c209d313e
commit
3f09ced219
2 changed files with 42 additions and 40 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:latest AS builder
|
||||
FROM golang:1.23.2 AS builder
|
||||
WORKDIR /shared-data/app
|
||||
|
||||
COPY ./ ./
|
||||
|
|
@ -7,7 +7,8 @@ COPY ./ ./
|
|||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o fibonacci_go .
|
||||
|
||||
FROM alpine:latest
|
||||
# ToDo: use stretch as image for a completly empty container
|
||||
FROM alpine:3.20.3
|
||||
WORKDIR /shared-data/app
|
||||
|
||||
COPY --from=builder /shared-data/app/fibonacci_go .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue