We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d7452a commit 60f1ad3Copy full SHA for 60f1ad3
Dockerfile
@@ -13,7 +13,7 @@ COPY \
13
RUN \
14
# Install tools, required for building
15
apt-get update && \
16
- apt-get install -y \
+ apt-get install -y --no-install-recommends \
17
# In general...
18
build-essential \
19
curl \
@@ -196,7 +196,19 @@ RUN \
196
197
# Add entrypoint for docker
198
mv /tmp/build/scripts/docker-entrypoint / && \
199
- chmod +x /docker-entrypoint
+ chmod +x /docker-entrypoint && \
200
+
201
+ # Final cleanup
202
+ apt-get remove -y \
203
+ bison \
204
+ build-essential \
205
+ curl \
206
+ pkg-config \
207
+ python-pip \
208
+ re2c && \
209
210
+ rm -rf /var/lib/apt/lists/* && \
211
+ rm -rf /tmp/build
212
213
# Declare entrypoint
214
ENTRYPOINT ["/docker-entrypoint"]
0 commit comments