|
|
#FROM golang:latest
|
|
|
FROM 192.168.0.243:5000/mmm/character-library-metadata-bastion:base
|
|
|
FROM golang:latest
|
|
|
#FROM 192.168.0.243:5000/mmm/character-library-metadata-bastion:base
|
|
|
ENV APP_DIR $GOPATH/src/character-library-metadata-bastion
|
|
|
RUN mkdir -p $APP_DIR
|
|
|
WORKDIR $APP_DIR/
|
|
|
COPY ./pkg pkg
|
|
|
COPY ./config config
|
|
|
COPY ./go.mod go.mod
|
|
|
COPY ./go.sum go.sum
|
|
|
COPY ./main.go main.go
|
|
|
RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"]
|
|
|
ENV GO111MODULE on
|
...
|
...
|
|