File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ RUN apt-get update \
21
21
&& curl -Lo /usr/bin/bosh https://github.com/cloudfoundry/bosh-cli/releases/download/v6.2.1/bosh-cli-6.2.1-linux-amd64 \
22
22
&& chmod 0755 /usr/bin/bosh
23
23
24
- RUN curl -Lo /usr/bin/genesis https://github.com/genesis-community/genesis/releases/download/v2.7.4/genesis \
24
+ ARG GENESIS_VERSION
25
+
26
+ RUN curl -Lo /usr/bin/genesis https://github.com/genesis-community/genesis/releases/download/v$GENESIS_VERSION/genesis \
25
27
&& chmod 0755 /usr/bin/genesis
26
28
27
29
RUN genesis -v
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ IMAGE := starkandwayne/genesis
2
2
TAG ?= 2.7.1
3
3
4
4
build :
5
- docker build -t $(IMAGE ) :dev .
5
+ docker build -t $(IMAGE ) :dev --build-arg GENESIS_VERSION= $( TAG ) .
6
6
docker run $(IMAGE ) :dev genesis -v
7
7
release : build
8
8
docker tag $(IMAGE ) :dev $(IMAGE ) :latest
You can’t perform that action at this time.
0 commit comments