change default Dockerfile to install ssl utils
Signed-off-by: andyzhangx <xiazhang@microsoft.com>master
							parent
							
								
									91b0f0559e
								
							
						
					
					
						commit
						7df881dcbe
					
				|  | @ -14,7 +14,11 @@ WORKDIR $DISTRIBUTION_DIR | |||
| COPY . $DISTRIBUTION_DIR | ||||
| RUN CGO_ENABLED=0 make PREFIX=/go clean binaries && file ./bin/registry | grep "statically linked" | ||||
| 
 | ||||
| FROM alpine | ||||
| FROM alpine:3.8 | ||||
| 
 | ||||
| RUN set -ex \ | ||||
|     && apk add --no-cache ca-certificates apache2-utils | ||||
| 
 | ||||
| COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml | ||||
| COPY --from=build /go/src/github.com/docker/distribution/bin/registry /bin/registry | ||||
| VOLUME ["/var/lib/registry"] | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue