File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# Optional Arguments:
44# --progress=plain : Prints plain output to terminal instead of windowed version.
55# --build-args SPEC=... : Specify optional build argument to override. Default = gcc
6- # e.g. --build-args SPEC=clang
6+ # e.g. --build-args SPEC=clang
77
88# To build and run a spheral test:
99# sudo env DOCKERBUILDKIT=1 docker build . --target spheral --tag spheral (--progress=plain) (--network none)
@@ -30,13 +30,12 @@ ARG HOST_CONFIG=docker-$SPEC
3030# Update Ubuntu and install necessary packages.
3131ENV DEBIAN_FRONTEND=noninteractive
3232
33- RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf && \
34- echo "nameserver 8.8.4.4" >> /etc/resolv.conf && \
35- echo "nameserver 1.1.1.1" >> /etc/resolv.conf
36-
3733RUN apt-get update -y && \
3834 apt-get upgrade -y && \
3935 apt-get install -y \
36+ ca-certificates \
37+ netbase \
38+ iproute2 \
4039 build-essential \
4140 git \
4241 gfortran \
@@ -67,12 +66,10 @@ RUN apt-get update -y && \
6766 curl \
6867 libcurl4-openssl-dev \
6968 tk-dev \
70- iputils-ping \
71- dnsutils \
72- ca-certificates && \
69+ iputils-ping && \
7370 rm -rf /var/lib/apt/lists/*
7471
75- # Setup system locale for pip package encoding/decoding
72+ # Setup system locale for pip package encoding/decoding
7673RUN locale-gen en_US.UTF-8
7774
7875RUN echo "Testing DNS resolution..." && \
You can’t perform that action at this time.
0 commit comments