Skip to content
Snippets Groups Projects
Unverified Commit 90626504 authored by Silas Davis's avatar Silas Davis
Browse files

Use arg in dockerfile and remove volume

parent 401d312d
No related branches found
No related tags found
No related merge requests found
......@@ -59,10 +59,10 @@ workflows:
test_and_release:
jobs:
- checkout_code:
# Rather annoyingly we need this boilerplate on all transitive
# Rather annoyingly we need to include tags_filters on all transitive
# dependencies if we want the deploy job to build against a version
# tag.
# Also note jobs build against all branches by default
# In contract jobs build against all branches by default
filters:
<<: *tags_filters
- test:
......@@ -82,11 +82,10 @@ workflows:
- test
- test_integration
filters:
# tags filters and branch filters are applied disjunctively, so we
# will still build tags not on develop (i.e. including tagged
# releases on master that we specifically want to build)
<<: *tags_filters
branches:
# Although we seem to exclude the master branch below, since
# matching on tags is independent we will still build tags that
# happen to point to a commit on master
# We push dev pre-release images for every commit on develop
only: develop
# burrow changelog
## v0.17.1
Minor tweaks to docker build file
## v0.17.0
This is a service release with some significant ethereum/solidity compatibility improvements and new logging features. It includes:
......
......@@ -5,7 +5,7 @@ MAINTAINER Monax <support@monax.io>
RUN apk add --no-cache --update git
RUN go get github.com/Masterminds/glide
ENV REPO $GOPATH/src/github.com/hyperledger/burrow
ARG REPO=$GOPATH/src/github.com/hyperledger/burrow
COPY . $REPO
WORKDIR $REPO
RUN glide install
......@@ -17,13 +17,9 @@ RUN go build --ldflags '-extldflags "-static"' -o bin/burrow-client ./client/cmd
# This will be our base container image
FROM alpine:3.6
# There does not appear to be a way to share environment variables between stages
ENV REPO /go/src/github.com/hyperledger/burrow
ENV USER monax
ENV MONAX_PATH /home/$USER/.monax
RUN addgroup -g 101 -S $USER && adduser -S -D -u 1000 $USER $USER
VOLUME $MONAX_PATH
WORKDIR $MONAX_PATH
USER $USER:$USER
......
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