Fix docker container multi arch build issue by passing GOARCH details to make build (#1445)
* pass GOARCH details to make process Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com> * update changelog Signed-off-by: Jeeva Kandasamy <jkandasa@gmail.com>
This commit is contained in:
		
							parent
							
								
									2c668a52d4
								
							
						
					
					
						commit
						7ed4e3c830
					
				|  | @ -8,7 +8,8 @@ | ||||||
| 
 | 
 | ||||||
| ## Changes since v7.2.0 | ## 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 | # V7.2.0 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -34,7 +34,7 @@ RUN case ${TARGETPLATFORM} in \ | ||||||
|          "linux/arm/v6") GOARCH=arm GOARM=6  ;; \ |          "linux/arm/v6") GOARCH=arm GOARM=6  ;; \ | ||||||
|     esac && \ |     esac && \ | ||||||
|     printf "Building OAuth2 Proxy for arch ${GOARCH}\n" && \ |     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 | # Copy binary to alpine | ||||||
| FROM alpine:3.14 | FROM alpine:3.14 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue