Skip to content

Commit

Permalink
Fix docker container multi arch build issue by passing GOARCH details…
Browse files Browse the repository at this point in the history
… to make build (#1445)

* pass GOARCH details to make process

Signed-off-by: Jeeva Kandasamy <[email protected]>

* update changelog

Signed-off-by: Jeeva Kandasamy <[email protected]>
  • Loading branch information
jkandasa authored Nov 12, 2021
1 parent 2c668a5 commit 7ed4e3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

## Changes since v7.2.0

- [#1433](https://github.com/oauth2-proxy/oauth2-proxy/pull/1433) Let authentication fail when session validation fails ((@stippi2)
- [#1433](https://github.com/oauth2-proxy/oauth2-proxy/pull/1433) Let authentication fail when session validation fails (@stippi2)
- [#1445](https://github.com/oauth2-proxy/oauth2-proxy/pull/1445) Fix docker container multi arch build issue by passing GOARCH details to make build (@jkandasa)

# V7.2.0

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN case ${TARGETPLATFORM} in \
"linux/arm/v6") GOARCH=arm GOARM=6 ;; \
esac && \
printf "Building OAuth2 Proxy for arch ${GOARCH}\n" && \
VERSION=${VERSION} make build && touch jwt_signing_key.pem
GOARCH=${GOARCH} VERSION=${VERSION} make build && touch jwt_signing_key.pem

# Copy binary to alpine
FROM alpine:3.14
Expand Down

0 comments on commit 7ed4e3c

Please sign in to comment.