File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
FROM debian:stretch-slim
2
2
LABEL maintainer="zodern"
3
3
RUN apt-get update && \
4
- apt-get install -y curl python make g++ bzip2 libfontconfig1 libfreetype6 ca-certificates --no-install-recommends && \
4
+ apt-get install -y curl python make g++ bzip2 ca-certificates --no-install-recommends && \
5
5
rm -rf /var/lib/apt/lists/*
6
- RUN export VERSION="2.1.1" && \
7
- curl -L -o ./phantomjs.tar.bz2 https://github.com/Medium/phantomjs/releases/download/v$VERSION/phantomjs-$VERSION-linux-x86_64.tar.bz2 && \
8
- mkdir phantomjs && \
9
- tar xvjf phantomjs.tar.bz2 -C ./phantomjs --strip-components=1 && \
10
- mv phantomjs /usr/local/share && \
11
- ln -sf /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin && \
12
- rm -rf ./phantomjs ./phantomjs.tar.bz2
6
+
13
7
RUN useradd --create-home --shell /bin/bash --uid 1000 --user-group app
14
8
15
9
RUN mkdir /built_app
Original file line number Diff line number Diff line change 1
1
FROM zodern/meteor
2
2
LABEL maintainer="zodern"
3
3
USER root
4
+ RUN apt-get update && \
5
+ apt-get install -y libfontconfig1 libfreetype6 && \
6
+ rm -rf /var/lib/apt/lists/*
7
+ RUN export VERSION="2.1.1" && \
8
+ curl -L -o ./phantomjs.tar.bz2 https://github.com/Medium/phantomjs/releases/download/v$VERSION/phantomjs-$VERSION-linux-x86_64.tar.bz2 && \
9
+ mkdir phantomjs && \
10
+ tar xvjf phantomjs.tar.bz2 -C ./phantomjs --strip-components=1 && \
11
+ mv phantomjs /usr/local/share && \
12
+ ln -sf /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin && \
13
+ rm -rf ./phantomjs ./phantomjs.tar.bz2
4
14
ONBUILD USER root
5
15
ONBUILD ARG NODE_VERSION='4.8.4'
6
16
ONBUILD RUN bash ./scripts/onbuild-node.sh
You can’t perform that action at this time.
0 commit comments