Skip to content

Commit 2958961

Browse files
committed
fix several RUN commands on Dockerfile
1 parent f9969bd commit 2958961

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,25 +109,20 @@ RUN mkdir -p /opt/c3d && \
109109
ENV C3DPATH=/opt/c3d/ \
110110
PATH=$C3DPATH/bin:$PATH
111111

112-
# Installing Ubuntu packages and cleaning up
113-
RUN apt-get install -y --no-install-recommends \
114-
git=1:2.7.4-0ubuntu1 \
115-
graphviz=2.38.0-12ubuntu2 && \
116-
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
117-
118112
# Install some other required tools
119-
ENV apt-get install -y --no-install-recommends \
113+
RUN apt-get install -y --no-install-recommends \
120114
git=1:2.7.4-0ubuntu1 \
121115
graphviz=2.38.0-12ubuntu2 \
122116
unzip \
123117
apt-utils \
124118
fusefat \
125119
make \
126-
ruby && \
120+
ruby=1:2.3.0+1 && \
121+
apt-get clean && \
127122
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
128123

129124
# Install fake-S3
130-
ENV GEM_HOME /usr/local/bundle
125+
ENV GEM_HOME /usr/lib/ruby/gems/2.3
131126
ENV BUNDLE_PATH="$GEM_HOME" \
132127
BUNDLE_BIN="$GEM_HOME/bin" \
133128
BUNDLE_SILENCE_ROOT_WARNING=1 \

0 commit comments

Comments
 (0)