-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile_debian.template
More file actions
executable file
·30 lines (24 loc) · 1.09 KB
/
Dockerfile_debian.template
File metadata and controls
executable file
·30 lines (24 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# see https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/ for Dockerfile best practices
# build me with:
# docker build -t "juicymo/drone-ruby:2.5.3" .
FROM ruby:%%FROM%%
MAINTAINER Tomas Jukin <tomas.jukin@juicymo.cz>
ENV BUILD_PACKAGES build-essential git gnupg2 ssh less curl
ENV RUBY_PACKAGES postgresql wget libpq-dev wkhtmltopdf imagemagick
#ENV WKHTMLTOPDF_PACKAGES gtk+ glib ttf-freefont fontconfig dbus
RUN apt-get update && apt-get install -qq --no-install-recommends \
$BUILD_PACKAGES \
$RUBY_PACKAGES && \
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
apt-get update && apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
#RUN wget --no-check-certificate https://github.com/kernix/wkhtmltopdf-docker-alpine/raw/master/wkhtmltopdf -P /usr/bin/
#RUN chmod a+x /usr/bin/wkhtmltopdf
ENV SHELL /bin/bash
ENV LC_ALL en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
RUN gem install bundler --no-doc
RUN gem install bundler --no-doc -v '< 2'
RUN npm install -g yarn
RUN curl -sL https://sentry.io/get-cli/ | bash