Skip to content

Commit

Permalink
Merge pull request #554 from DannyBen/test/docker-build
Browse files Browse the repository at this point in the history
Fix docker multi-arch build
  • Loading branch information
DannyBen authored Aug 22, 2024
2 parents 4223037 + 094cb05 commit c0fd6f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM dannyben/alpine-ruby:3.3.3

ENV BASHLY_VERSION=1.2.2
ENV PS1="\n\n>> bashly \W \$ "
ENV BASHLY_VERSION=1.2.2

WORKDIR /app

# Install pandoc to support manpage generation (`bashly render :mandoc docs`)
RUN apk add --no-cache pandoc-cli

RUN gem install bashly --version $BASHLY_VERSION && \
gem update --system
RUN gem install bashly --version $BASHLY_VERSION

VOLUME /app

ENTRYPOINT ["bashly"]
ENTRYPOINT ["bashly"]
3 changes: 2 additions & 1 deletion edge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ WORKDIR /app
RUN rm -rf /bashly

VOLUME /app
ENTRYPOINT ["bashly"]

ENTRYPOINT ["bashly"]

0 comments on commit c0fd6f2

Please sign in to comment.