Skip to content

Commit

Permalink
hotfix: incorrect Go target arch (#4363)
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Beermann <tibeer@outlook.de>
Signed-off-by: Lennart Krauch <lennart.krauch@inovex.de>
Co-authored-by: Tim Beermann <tibeer@outlook.de>
  • Loading branch information
Lennart01 and tibeer authored Jul 25, 2024
1 parent 83b4d2a commit d21a986
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/inovex/scrumlr.io/issues",
"email": "info@scrumlr.io"
},
"version": "3.8.1",
"version": "3.8.2",
"private": true,
"license": "MIT",
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion server/src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Build application
FROM golang:1.22

ARG TARGETARCH
ARG TARGETOS

WORKDIR /go/src/github.com/inovex/scrumlr.io/
COPY ./ .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -o main
RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -o main

# Start application
FROM alpine:3.20
Expand Down

0 comments on commit d21a986

Please sign in to comment.