forked from 18F/health-tracking-course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
50 lines (47 loc) · 1.25 KB
/
Dockerfile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM alpine:3.12
# Note: alpine does not have bash.
# This will cause problems if a launching script
# expects to have bash available...
# Also: getopts is in util-linux-doc
RUN apk upgrade --update \
&& apk add \
bash \
util-linux \
# coreutils \
# binutils \
# findutils \
# grep \
libatomic \
readline \
readline-dev \
libxml2 \
libxml2-dev \
ncurses-terminfo-base \
ncurses-terminfo \
libxslt \
libxslt-dev \
zlib-dev \
zlib \
ruby \
ruby-dev \
yaml \
yaml-dev \
libffi-dev \
build-base \
git \
nodejs \
ruby-io-console \
ruby-irb \
ruby-json \
ruby-rake \
ruby-bundler \
ruby-bigdecimal \
ruby-webrick \
# && gem install --no-document redcarpet kramdown maruku rdiscount RedCloth liquid pygments.rb \
# && gem install --no-document safe_yaml \
# && gem install --no-document jekyll -v 4.2.0 \
&& rm -rf /root/src /tmp/* /usr/share/man /var/cache/apk/*
COPY entry.bash /scripts/entry.bash
RUN chmod +x /scripts/entry.bash
EXPOSE 4000
ENTRYPOINT [ "/scripts/entry.bash" ]