-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,20 @@ | |
FROM golang:1.10-alpine3.7 | ||
MAINTAINER David Chang <[email protected]> | ||
# TODO fix path after move out | ||
WORKDIR /go/src/bitbucket.org/linkernetworks/vortex | ||
WORKDIR /go/src/github.com/linkernetworks/vortex | ||
|
||
RUN apk add --no-cache protobuf ca-certificates git | ||
|
||
COPY config /cv-tracker/config | ||
# TODO fix path after move out | ||
COPY . /go/src/bitbucket.org/linkernetworks/vortex/src | ||
COPY Makefile /go/src/bitbucket.org/linkernetworks/vortex | ||
COPY . /go/src/github.com/linkernetworks/vortex/src | ||
COPY Makefile /go/src/github.com/linkernetworks/vortex | ||
|
||
ENV CGO_ENABLED 0 | ||
ENV GOOS linux | ||
ENV TIMEZONE "Asia/Shanghai" | ||
ARG BUILD_MODE=release | ||
ARG BRAND=aurora | ||
ARG BRAND=vortex | ||
RUN apk add --no-cache tzdata && \ | ||
cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime && \ | ||
echo $TIMEZONE > /etc/timezone && \ | ||
|
@@ -34,8 +34,6 @@ COPY --from=0 /go/bin /go/bin | |
# copy the config files from the current working dir | ||
COPY config /vortex/config | ||
|
||
ARG BRAND=aurora | ||
|
||
# select the config file for deployment | ||
ARG CONFIG=config/k8s-develop.json | ||
COPY ${CONFIG} config/k8s.json | ||
|