We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67112fd commit 60eb15fCopy full SHA for 60eb15f
edge/Dockerfile
@@ -3,8 +3,10 @@ FROM dannyben/alpine-ruby
3
ENV PS1 "\n\n>> bashly \W \$ "
4
RUN apk add --no-cache git
5
6
+ARG branch=master
7
+
8
WORKDIR /bashly
-RUN git clone --depth 1 https://github.com/DannyBen/bashly.git .
9
+RUN git clone --branch $branch --depth 1 https://github.com/DannyBen/bashly.git .
10
RUN gem build bashly.gemspec
11
RUN gem install bashly*.gem
12
edge/op.conf
@@ -1,2 +1,2 @@
1
-build: docker build --no-cache -t dannyben/bashly:edge . && docker images |grep bashly
+build: docker build --build-arg=branch=$1 --no-cache -t dannyben/bashly:edge . && docker images |grep bashly
2
push: docker push dannyben/bashly:edge
0 commit comments