Skip to content
Snippets Groups Projects
Commit 1ba6d329 authored by Casey Kuhlman's avatar Casey Kuhlman
Browse files

Merge remote-tracking branch 'origin/feature-smaller-docker' into feature-smaller-docker-redux

parents d8bbbb2c b6467e30
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,12 @@ MAINTAINER Monax <support@monax.io>
ENV TARGET eris-db
# runtime customization start here
ADD ./eris-client $INSTALL_BASE
COPY ./eris-client $INSTALL_BASE/eris-client
COPY ./bin/start_eris_db $INSTALL_BASE/erisdb-wrapper
# runtime customization end here
# Get the binary from the artifact in pwd
ADD ./$TARGET $INSTALL_BASE
COPY ./"$TARGET"_build_artifact $INSTALL_BASE/$TARGET
RUN chmod +x --recursive $INSTALL_BASE
# Finalize
......
......@@ -36,7 +36,7 @@ release_maj=$(echo $release_min | cut -d . -f 1-2)
# Build
docker build -t $IMAGE:build $REPO
docker run --rm --entrypoint cat $IMAGE:build /usr/local/bin/$TARGET > $REPO/$TARGET
docker run --rm --entrypoint cat $IMAGE:build /usr/local/bin/$TARGET > $REPO/"$TARGET"_build_artifact
docker run --rm --entrypoint cat $IMAGE:build /usr/local/bin/eris-client > $REPO/eris-client
docker build -t $IMAGE:$release_min -f Dockerfile.deploy $REPO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment