9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-29 14:45:38 +01:00
qp2/drone/Docker/Ubuntu/Dockerfile

28 lines
431 B
Docker
Raw Normal View History

2022-04-12 15:49:20 +02:00
ARG UBUNTU_VERSION=20.04
FROM ubuntu:${UBUNTU_VERSION} AS builder
# Timezone for tzdata
ARG tz=Etc/UTC
RUN echo $tz > /etc/timezone && rm -rf /etc/localtime
# Install
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
curl \
wget \
python3 \
gfortran \
gcc \
g++ \
make \
build-essential \
rsync \
unzip \
libopenblas-dev \
pkg-config \
m4
RUN ln -s /usr/bin/python3 /usr/bin/python