Browse Source

Add apt-upgrade; minor optimizations

bullseye
T. Meissner 4 years ago
parent
commit
2f2c209116
1 changed files with 4 additions and 7 deletions
  1. +4
    -7
      ghdl-formal.Dockerfile

+ 4
- 7
ghdl-formal.Dockerfile View File

@ -3,18 +3,15 @@
FROM symbiyosys as symbiyosys-ghdl
ARG LLVM_VER="7"
ARG GNAT_VER="8"
#ARG GNAT_VER="8"
RUN apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
gnat \
zlib1g-dev \
llvm-dev && \
apt-get autoclean && apt-get clean && apt-get -y autoremove && \
rm -rf /var/lib/apt/lists/*
# Build GHDL
RUN cd /root && \
rm -rf /var/lib/apt/lists/* && \
cd /root && \
mkdir ghdl && \
cd ghdl && \
curl https://codeload.github.com/ghdl/ghdl/tar.gz/master | tar xzf - --strip-components=1 && \
@ -51,7 +48,7 @@ RUN apt-get update -qq && \
gcc \
make \
python3 && \
apt-get autoclean && apt-get clean && apt-get -y autoremove && \
apt-get upgrade && apt-get autoclean && apt-get clean && apt-get -y autoremove && \
update-ca-certificates && \
rm -rf /var/lib/apt/lists/*


Loading…
Cancel
Save