Skip to content

Commit

Permalink
Add console binary to container
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Simmerl committed Mar 27, 2017
1 parent ee6bdbc commit df13450
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infrastructure/docker/snaas.docker
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM alpine:3.5
MAINTAINER Tapglue "[email protected]"

ARG CONSOLE_BINARY
ARG GATEWAY_HTTP_BINARY
ARG SIMS_BINARY

Expand All @@ -11,5 +12,6 @@ RUN apk add --update ca-certificates && rm -rf /var/cache/apk/*
ADD infrastructure/certs/self/self.crt /tapglue/self.crt
ADD infrastructure/certs/self/self.key /tapglue/self.key

ADD $CONSOLE_BINARY /tapglue/console
ADD $GATEWAY_HTTP_BINARY /tapglue/gateway-http
ADD $SIMS_BINARY /tapglue/sims
1 change: 1 addition & 0 deletions infrastructure/scripts/build-container
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ echo "|> build container"
docker build \
-f ${PROJECT}/infrastructure/docker/snaas.docker \
-t tapglue/snaas:${CIRCLE_BUILD_NUM} \
--build-arg CONSOLE_BINARY=console_${CIRCLE_BUILD_NUM} \
--build-arg GATEWAY_HTTP_BINARY=gateway-http_${CIRCLE_BUILD_NUM} \
--build-arg SIMS_BINARY=sims_${CIRCLE_BUILD_NUM} \
${PROJECT}

0 comments on commit df13450

Please sign in to comment.