Using the OMCI-Sim library to respond to OMCI messages
Change-Id: I8a15f9dcb95fe8ce7b5f524d673d7c83882b6401
diff --git a/build/package/Dockerfile b/build/package/Dockerfile
index 5af257d..c3c0c87 100644
--- a/build/package/Dockerfile
+++ b/build/package/Dockerfile
@@ -37,7 +37,8 @@
# get dependencies
COPY go.mod go.sum ./
-RUN go mod download
+COPY vendor ./vendor
+RUN go mod vendor
# build the protos
COPY Makefile ./
@@ -47,7 +48,7 @@
# copy and build
COPY . ./
ARG GIT_STATUS=Clean
-RUN GO111MODULE=on go build \
+RUN GO111MODULE=on go build -mod vendor\
-ldflags "-X main.buildTime=$(date +”%Y/%m/%d-%H:%M:%S”) \
-X main.commitHash=$(git log --pretty=format:%H -n 1) \
-X main.gitStatus=${GIT_STATUS}\