first
This commit is contained in:
commit
690487eab3
30
Dockerfile
Normal file
30
Dockerfile
Normal file
@ -0,0 +1,30 @@
|
||||
FROM ruby:3.1-buster as builder
|
||||
|
||||
# I sort of hate that this is duped in .drone.yml and here.
|
||||
# note that if you update one, you probably have to update the other.
|
||||
RUN apt update && apt install -y \
|
||||
bsdmainutils \
|
||||
build-essential \
|
||||
make \
|
||||
bundler \
|
||||
ghostscript \
|
||||
imagemagick \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
nodejs \
|
||||
npm \
|
||||
pkg-config
|
||||
|
||||
WORKDIR /var/jekyll
|
||||
|
||||
ADD ./Gemfile* /var/jekyll/
|
||||
|
||||
RUN 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
|
Loading…
Reference in New Issue
Block a user