Skip to content

Commit

Permalink
Merge pull request #18 from insolar/OPS-155-fix-dockerfile
Browse files Browse the repository at this point in the history
#OPS-155 fix image building for k8s
  • Loading branch information
SergeyRadist authored May 13, 2020
2 parents 9ea0999 + 1dc702c commit 821de8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ data
docker
Dockerfile
docker-compose
.*
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN BUILD_NUMBER=${BUILD_NUMBER} \
BUILD_TIME=${BUILD_TIME} \
BUILD_HASH=${BUILD_HASH} \
BUILD_VERSION=${BUILD_VERSION} \
make build
make all

FROM debian:buster-slim
WORKDIR /go/src/github.com/insolar/mainnet
Expand All @@ -31,4 +31,7 @@ ADD scripts/kube/bootstrap/* /app/bootstrap/
COPY --from=build \
/go/src/github.com/insolar/mainnet/bin/insolar \
/go/src/github.com/insolar/mainnet/bin/insolard \
/go/src/github.com/insolar/mainnet/bin/keeperd \
/go/src/github.com/insolar/mainnet/bin/pulsard \
/go/src/github.com/insolar/mainnet/bin/pulsewatcher \
/usr/local/bin/
2 changes: 1 addition & 1 deletion scripts/kube/bootstrap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN BUILD_NUMBER=${BUILD_NUMBER} \
BUILD_TIME=${BUILD_TIME} \
BUILD_HASH=${BUILD_HASH} \
BUILD_VERSION=${BUILD_VERSION} \
make build
make all

RUN set -eux; \
groupadd -r insolar --gid=999; \
Expand Down

0 comments on commit 821de8b

Please sign in to comment.