This commit is contained in:
2023-02-10 05:16:49 -08:00
parent 690487eab3
commit 094f5546e5
4 changed files with 309 additions and 10 deletions

View File

@@ -11,20 +11,20 @@ RUN apt update && apt install -y \
imagemagick \
libxml2-dev \
libxslt-dev \
nodejs \
npm \
pkg-config
WORKDIR /var/jekyll
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs
ADD ./Gemfile* /var/jekyll/
ADD ./Gemfile* ./
RUN npm install -g yarn && \
RUN npm install -g npm && \
npm install -g yarn && \
echo "gem: --no-ri --no-rdoc" > ~/.gemrc && \
yes | gem update --system && \
gem install bundler && \
bundle install && \
yarn global add \
https://github.com/netlify/cli#a3528d2a679807722de40b1dd87200176b121dbd
&& \
netlify --telemetry-disable
https://github.com/netlify/cli#a3528d2a679807722de40b1dd87200176b121dbd && \
netlify --telemetry-disable && \
bundle install