git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fix docker container multi arch build issue by passing GOARCH details to make build (#1445)
7ed4e3cJeeva Kandasamy
CHANGELOG.md+2−1
@@ -8,7 +8,8 @@
8
8
9## Changes since v7.2.0
9## Changes since v7.2.0
10
10
11−- [#1433](https://github.com/oauth2-proxy/oauth2-proxy/pull/1433) Let authentication fail when session validation fails ((@stippi2)
11+- [#1433](https://github.com/oauth2-proxy/oauth2-proxy/pull/1433) Let authentication fail when session validation fails (@stippi2)
12+- [#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)
12
13
13# V7.2.0
14# V7.2.0
14
15
Dockerfile+1−1
@@ -34,7 +34,7 @@ RUN case ${TARGETPLATFORM} in \
34 "linux/arm/v6") GOARCH=arm GOARM=6 ;; \
34 "linux/arm/v6") GOARCH=arm GOARM=6 ;; \
35 esac && \
35 esac && \
36 printf "Building OAuth2 Proxy for arch ${GOARCH}\n" && \
36 printf "Building OAuth2 Proxy for arch ${GOARCH}\n" && \
37− VERSION=${VERSION} make build && touch jwt_signing_key.pem
37+ GOARCH=${GOARCH} VERSION=${VERSION} make build && touch jwt_signing_key.pem
38
38
39# Copy binary to alpine
39# Copy binary to alpine
40FROM alpine:3.14
40FROM alpine:3.14