mirror of
https://github.com/minio/minio.git
synced 2025-01-12 15:33:22 -05:00
docker: Fix docker Makefile.
This commit is contained in:
parent
cd5992c6db
commit
1b0bc814c4
@ -1,6 +1,6 @@
|
|||||||
### Run Minio docker image
|
### Run Minio docker image
|
||||||
|
|
||||||
Start docker, however image is not persistent.
|
Start docker, however data is not persistent.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -p 9000:9000 minio/minio fs /export/data
|
docker run -p 9000:9000 minio/minio fs /export/data
|
||||||
|
8
Makefile
8
Makefile
@ -132,11 +132,9 @@ install: gomake-all
|
|||||||
dockerimage: checkdocker verifiers $(UI_ASSETS)
|
dockerimage: checkdocker verifiers $(UI_ASSETS)
|
||||||
@echo "Building docker image:" minio:$(TAG)
|
@echo "Building docker image:" minio:$(TAG)
|
||||||
@GO15VENDOREXPERIMENT=1 GOOS=linux GOARCH=amd64 go build --ldflags $(DOCKER_LDFLAGS) -o docker/minio.dockerimage
|
@GO15VENDOREXPERIMENT=1 GOOS=linux GOARCH=amd64 go build --ldflags $(DOCKER_LDFLAGS) -o docker/minio.dockerimage
|
||||||
@cd docker
|
@cd docker; mkdir -p export; sudo docker build --rm --tag=minio/minio:$(TAG) .
|
||||||
@mkdir -p export
|
@rmdir docker/export
|
||||||
@sudo docker build --rm --tag=minio/minio:$(TAG) .
|
@rm docker/minio.dockerimage
|
||||||
@rmdir export
|
|
||||||
@rm minio.dockerimage
|
|
||||||
|
|
||||||
release: verifiers
|
release: verifiers
|
||||||
@MINIO_RELEASE=RELEASE ./buildscripts/build.sh
|
@MINIO_RELEASE=RELEASE ./buildscripts/build.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user