Update alpine version to 3.13 (#1013)
* Update alpine version to 3.13 alpine 3.12 has a CVE https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28928 which got fixed in recent version * address review comments
This commit is contained in:
		
							parent
							
								
									b541805dc1
								
							
						
					
					
						commit
						48b1658e5d
					
				|  | @ -113,6 +113,7 @@ | ||||||
| - [#829](https://github.com/oauth2-proxy/oauth2-proxy/pull/820) Rename test directory to testdata (@johejo) | - [#829](https://github.com/oauth2-proxy/oauth2-proxy/pull/820) Rename test directory to testdata (@johejo) | ||||||
| - [#819](https://github.com/oauth2-proxy/oauth2-proxy/pull/819) Improve CI (@johejo) | - [#819](https://github.com/oauth2-proxy/oauth2-proxy/pull/819) Improve CI (@johejo) | ||||||
| - [#989](https://github.com/oauth2-proxy/oauth2-proxy/pull/989) Adapt isAjax to support mimetype lists (@rassie) | - [#989](https://github.com/oauth2-proxy/oauth2-proxy/pull/989) Adapt isAjax to support mimetype lists (@rassie) | ||||||
|  | - [#1013](https://github.com/oauth2-proxy/oauth2-proxy/pull/1013) Update alpine version to 3.13 (@nishanth-pinnapareddy) | ||||||
| 
 | 
 | ||||||
| # v6.1.1 | # v6.1.1 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ COPY . . | ||||||
| RUN VERSION=${VERSION} make build && touch jwt_signing_key.pem | RUN VERSION=${VERSION} make build && touch jwt_signing_key.pem | ||||||
| 
 | 
 | ||||||
| # Copy binary to alpine | # Copy binary to alpine | ||||||
| FROM alpine:3.12 | FROM alpine:3.13 | ||||||
| COPY nsswitch.conf /etc/nsswitch.conf | COPY nsswitch.conf /etc/nsswitch.conf | ||||||
| COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||||||
| COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy | COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ COPY . . | ||||||
| RUN VERSION=${VERSION} GOARCH=arm64 make build && touch jwt_signing_key.pem | RUN VERSION=${VERSION} GOARCH=arm64 make build && touch jwt_signing_key.pem | ||||||
| 
 | 
 | ||||||
| # Copy binary to alpine | # Copy binary to alpine | ||||||
| FROM arm64v8/alpine:3.12 | FROM arm64v8/alpine:3.13 | ||||||
| COPY nsswitch.conf /etc/nsswitch.conf | COPY nsswitch.conf /etc/nsswitch.conf | ||||||
| COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||||||
| COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy | COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ COPY . . | ||||||
| RUN VERSION=${VERSION} GOARCH=arm GOARM=6 make build && touch jwt_signing_key.pem | RUN VERSION=${VERSION} GOARCH=arm GOARM=6 make build && touch jwt_signing_key.pem | ||||||
| 
 | 
 | ||||||
| # Copy binary to alpine | # Copy binary to alpine | ||||||
| FROM arm32v6/alpine:3.12 | FROM arm32v6/alpine:3.13 | ||||||
| COPY nsswitch.conf /etc/nsswitch.conf | COPY nsswitch.conf /etc/nsswitch.conf | ||||||
| COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||||||
| COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy | COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue