From 094cb0577382b431c3b00eae6705689bcb8db545 Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Thu, 22 Aug 2024 04:03:21 +0000 Subject: [PATCH] update dockerfiles --- Dockerfile | 10 ++++++---- edge/Dockerfile | 3 ++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index cf8d3246..facb5516 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +ENTRYPOINT ["bashly"] diff --git a/edge/Dockerfile b/edge/Dockerfile index 765002a6..bb5580e6 100644 --- a/edge/Dockerfile +++ b/edge/Dockerfile @@ -14,4 +14,5 @@ WORKDIR /app RUN rm -rf /bashly VOLUME /app -ENTRYPOINT ["bashly"] \ No newline at end of file + +ENTRYPOINT ["bashly"]