Commit 4534497 1 parent dcce4d0 commit 4534497 Copy full SHA for 4534497
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM dannyben/alpine-ruby
2
2
3
+ ENV BASHLY_VERSION=1.1.6
3
4
ENV PS1 "\n\n >> bashly \W \$ "
4
5
WORKDIR /app
5
6
6
7
# Install pandoc to support manpage generation (`bashly render :mandoc docs`)
7
8
RUN apk add --no-cache pandoc-cli
8
9
9
- RUN gem install bashly --version 1.1.6
10
+ RUN gem install bashly --version $BASHLY_VERSION && \
11
+ gem update --system
10
12
11
13
ENTRYPOINT ["bashly" ]
Original file line number Diff line number Diff line change 1
1
services :
2
2
bash :
3
3
build : .
4
+ command : bash
4
5
<< : &default
5
6
entrypoint : []
6
7
image : dannyben/bashly
@@ -9,10 +10,7 @@ services:
9
10
build : .
10
11
image : dannyben/bashly
11
12
12
- bashly-test :
13
- << : *default
14
- command : bashly --version
15
-
16
13
pandoc-test :
17
14
<< : *default
18
- command : pandoc --version
15
+ command : sh -c "pandoc --version | grep 'pandoc 3.1'"
16
+
You can’t perform that action at this time.
0 commit comments