Skip to content

Commit

Permalink
dockerfile: use 'python:3-slim-buster' base image
Browse files Browse the repository at this point in the history
  • Loading branch information
1138-4EB committed Aug 7, 2019
1 parent 99de39f commit 36c80cf
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG IMAGE="ubuntu:18.04"
ARG IMAGE="python:3-slim-buster"

#---

Expand All @@ -7,8 +7,13 @@ FROM $IMAGE AS base
RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
ca-certificates \
clang \
curl \
libffi-dev \
libreadline-dev \
tcl-dev \
graphviz \
xdot \
&& apt-get autoclean && apt-get clean && apt-get -y autoremove \
&& update-ca-certificates \
&& rm -rf /var/lib/apt/lists
Expand All @@ -19,15 +24,13 @@ FROM base AS build

RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
clang \
bison \
build-essential \
flex \
gawk \
gcc \
git \
libffi-dev \
iverilog \
pkg-config \
python3 \
&& apt-get autoclean && apt-get clean && apt-get -y autoremove \
&& rm -rf /var/lib/apt/lists

Expand Down

0 comments on commit 36c80cf

Please sign in to comment.