forked from njoy/Docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Docker image with latest compiler.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM debian:latest | ||
|
||
LABEL maintainer="Jeremy Lloyd Conlin [email protected]" | ||
|
||
RUN apt update \ | ||
&& apt upgrade -y \ | ||
&& apt install -y --force-yes gcc g++ gfortran clang make cmake git python3 \ | ||
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 60 | ||
|
||
ENV CC /usr/bin/clang | ||
ENV CXX /usr/bin/clang++ | ||
ENV FC /usr/bin/gfortran | ||
|
||
ENTRYPOINT [ "/bin/bash" ] |