DannyBen/bashly

View on GitHub
edge/Dockerfile

Summary

Maintainability
Test Coverage
FROM dannyben/alpine-ruby:3.3.3

ENV PS1 "\n\n>> bashly \W \$ "
RUN apk add --no-cache git pandoc-cli

ARG branch=master

WORKDIR /bashly
RUN git clone --branch $branch --depth 1 https://github.com/DannyBen/bashly.git .
RUN gem build bashly.gemspec --output bashly.gem
RUN gem install bashly.gem

WORKDIR /app
RUN rm -rf /bashly

VOLUME /app

ENTRYPOINT ["bashly"]