mirror of
https://github.com/minio/minio.git
synced 2025-04-04 03:40:30 -04:00
Fix docker file to use binary endpoint. (#3180)
This commit is contained in:
parent
eb1bc67db1
commit
bf3c93a8cc
@ -3,6 +3,7 @@ FROM golang:1.7-alpine
|
|||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
COPY . /go/src/app
|
COPY . /go/src/app
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache git && \
|
apk add --no-cache git && \
|
||||||
go-wrapper download && \
|
go-wrapper download && \
|
||||||
@ -13,5 +14,5 @@ RUN \
|
|||||||
apk del git
|
apk del git
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
ENTRYPOINT ["go-wrapper", "run"]
|
ENTRYPOINT ["minio"]
|
||||||
VOLUME ["/export"]
|
VOLUME ["/export"]
|
||||||
|
2
main.go
2
main.go
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package main
|
package main // import "github.com/minio/minio"
|
||||||
|
|
||||||
import minio "github.com/minio/minio/cmd"
|
import minio "github.com/minio/minio/cmd"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user