aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author1138-4EB <1138-4EB@users.noreply.github.com>2019-08-07 14:24:09 +0200
committer1138-4EB <1138-4EB@users.noreply.github.com>2019-08-07 20:07:45 +0200
commit36c80cf4561cac321c0b0931b37ecac9dc42e07a (patch)
treeb84c313fa4a6685b6b1dce99cbd9b7d93b570755
parent99de39fc79fa948e1f844faa81206532efabc268 (diff)
downloadyosys-36c80cf4561cac321c0b0931b37ecac9dc42e07a.tar.gz
yosys-36c80cf4561cac321c0b0931b37ecac9dc42e07a.tar.bz2
yosys-36c80cf4561cac321c0b0931b37ecac9dc42e07a.zip
dockerfile: use 'python:3-slim-buster' base image
-rw-r--r--Dockerfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 027514a3b..549c73c97 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-ARG IMAGE="ubuntu:18.04"
+ARG IMAGE="python:3-slim-buster"
#---
@@ -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
@@ -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