Browse Source

Add apt-upgrade; minor optimizations

bullseye
T. Meissner 5 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 FROM symbiyosys as symbiyosys-ghdl
ARG LLVM_VER="7" ARG LLVM_VER="7"
ARG GNAT_VER="8"
#ARG GNAT_VER="8"
RUN apt-get update -qq && \ RUN apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
gnat \ gnat \
zlib1g-dev \
llvm-dev && \ llvm-dev && \
apt-get autoclean && apt-get clean && apt-get -y autoremove && \ 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 && \ mkdir ghdl && \
cd ghdl && \ cd ghdl && \
curl https://codeload.github.com/ghdl/ghdl/tar.gz/master | tar xzf - --strip-components=1 && \ 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 \ gcc \
make \ make \
python3 && \ 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 && \ update-ca-certificates && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*


Loading…
Cancel
Save