Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
jekyll-build-pages/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
25 lines (18 sloc)
446 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG RUBY_VERSION=2.7.4 | |
FROM ruby:$RUBY_VERSION-slim | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
build-essential \ | |
git \ | |
locales \ | |
nodejs | |
COPY Gemfile Gemfile | |
RUN NOKOGIRI_USE_SYSTEM_LIBRARIES=true bundle install | |
RUN \ | |
echo "en_US UTF-8" > /etc/locale.gen && \ | |
locale-gen en-US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US.UTF-8 | |
ENV LC_ALL en_US.UTF-8 | |
COPY entrypoint.sh /entrypoint.sh | |
ENTRYPOINT ["/entrypoint.sh"] | |