Skip to content

Commit

Permalink
Update ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Dec 15, 2023
1 parent 4c101fa commit 1be204d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions images/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ RUN npm install -g svgo
# Install openstreetmap-website
RUN rm -rf $workdir/html

ENV OPENSTREETMAP_WEBSITE_GITSHA=9d717d45417f1cdb971da6f3dd2e9f2ba66ddcfd
ENV OPENSTREETMAP_WEBSITE_GITSHA=c24b5481812aba9e83da1fd855ccb37f92c5d75e
RUN curl -L https://github.com/openstreetmap/openstreetmap-website/archive/$OPENSTREETMAP_WEBSITE_GITSHA.zip --output website.zip && unzip website.zip
RUN mv openstreetmap-website-$OPENSTREETMAP_WEBSITE_GITSHA/* $workdir/
WORKDIR $workdir
RUN echo "gem 'image_optim_pack', :git => 'https://github.com/toy/image_optim_pack.git'" >> Gemfile


# Install Ruby packages
RUN gem install bundler && bundle install


# Configure database.yml and secrets.yml
RUN cp $workdir/config/example.database.yml $workdir/config/database.yml
RUN touch $workdir/config/settings.local.yml
Expand Down Expand Up @@ -142,3 +142,5 @@ COPY start.sh $workdir/
COPY liveness.sh $workdir/

CMD $workdir/start.sh


0 comments on commit 1be204d

Please sign in to comment.