Skip to content

Commit

Permalink
Toolchain: Switch mostly to Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Aug 2, 2020
1 parent 729dd9a commit fd9a017
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/toolchain/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=ubuntu:18.04
ARG BASE_IMAGE=ubuntu:20.04
FROM ${BASE_IMAGE}

ARG MPI_MODE=mpich
Expand Down
8 changes: 5 additions & 3 deletions tools/toolchain/Dockerfile.ubuntu_nompi
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM ubuntu:18.04
ARG GCC_VERSION=8
ARG BASE_IMAGE=ubuntu:20.04
FROM ${BASE_IMAGE}
ARG GCC_VERSION=9
ARG LIBINT_LMAX=5
USER root

Expand All @@ -8,7 +9,8 @@ USER root
# Installs lean toolchain without MPI and relying mostly on Ubuntu packages.

# Install Ubuntu packages.
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && \
apt-get update -qq && apt-get install -qq --no-install-recommends \
autoconf \
autogen \
automake \
Expand Down
1 change: 1 addition & 0 deletions tools/toolchain/install_requirements_fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dnf -qy install \
libtool \
make \
nano \
patch \
pkg-config \
python \
python-numpy \
Expand Down
4 changes: 4 additions & 0 deletions tools/toolchain/install_requirements_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

echo "Installing Ubuntu packages..."

export DEBIAN_FRONTEND=noninteractive
export DEBCONF_NONINTERACTIVE_SEEN=true

apt-get update -qq

apt-get install -qq --no-install-recommends \
Expand All @@ -20,6 +23,7 @@ apt-get install -qq --no-install-recommends \
libtool \
make \
nano \
patch \
pkg-config \
python \
python-numpy \
Expand Down

0 comments on commit fd9a017

Please sign in to comment.