Skip to content

Commit

Permalink
feat: switch to official docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadnassri committed Jul 28, 2023
1 parent 04b9999 commit 6b9e654
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
Empty file added .env
Empty file.
21 changes: 1 addition & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,4 @@
FROM ruby:2.6-alpine
FROM gollumwiki/gollum:v5.3.2

LABEL name="gollum"
LABEL maintainer="Ahmad Nassri <ahmad@ahmadnassri.com>"

WORKDIR /

RUN apk add --no-cache --virtual build-deps build-base
RUN apk add --no-cache cmake
RUN apk add --no-cache openssl-dev

COPY Gemfile .
RUN gem install -g

RUN apk del build-base build-deps cmake openssl-dev
RUN rm -rf /usr/lib/ruby/gems/*/cache/*.gem

VOLUME /wiki
WORKDIR /wiki

ENTRYPOINT ["gollum"]

EXPOSE 4567
3 changes: 0 additions & 3 deletions Gemfile

This file was deleted.

0 comments on commit 6b9e654

Please sign in to comment.