File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const (
1313 registryConfig = "/etc/docker/registry/config.yml"
1414 minioHostEnvVar = "DEIS_MINIO_SERVICE_HOST"
1515 minioPortEnvVar = "DEIS_MINIO_SERVICE_PORT"
16+ command = "serve"
1617)
1718
1819func main () {
@@ -99,7 +100,7 @@ func main() {
99100
100101 }
101102
102- cmd := exec .Command (registryBinary , registryConfig )
103+ cmd := exec .Command (registryBinary , command , registryConfig )
103104 cmd .Stdout = os .Stdout
104105 cmd .Stderr = os .Stderr
105106 if err := cmd .Run (); err != nil {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN apt-get update \
88 golang \
99 make \
1010 --no-install-recommends \
11- && export DOCKER_REGISTRY_TAG=minio \
11+ && export DOCKER_REGISTRY_TAG=deis \
1212 DOCKER_REGISTRY_REPO=https://github.com/deis/distribution.git \
1313 DISTRIBUTION_DIR=/go/src/github.com/docker/distribution \
1414 && export GOPATH=/go:$DISTRIBUTION_DIR/Godeps/_workspace \
You can’t perform that action at this time.
0 commit comments