Skip to content

Commit

Permalink
Update dockerfiles/Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sufuf3 committed Jun 19, 2018
1 parent 45aa501 commit f9cd5e0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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
Expand Down

0 comments on commit f9cd5e0

Please sign in to comment.