Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust docker image to be consistent with multiple cpu arch #485

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
FROM dannyben/alpine-ruby
FROM ruby:3.3.0-slim-bookworm

ENV PS1 "\n\n>> bashly \W \$ "
WORKDIR /app

ENV BASHLY_VERSION=1.1.6
ENV RUBY_SYSTEM_VERSION=3.5.5

# Install pandoc to support manpage generation (`bashly render :mandoc docs`)
RUN apk add --no-cache pandoc-cli
RUN apt update -y \
&& apt install pandoc -y \
&& apt clean

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

ENTRYPOINT ["bashly"]
ENTRYPOINT ["bashly"]
Loading