Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Merge requests
!123
Feature/tools
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Feature/tools
feature/tools
into
develop
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Feature/tools
Stéphane Del Pino
requested to merge
feature/tools
into
develop
Nov 17, 2021
Overview
0
Commits
2
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
3db7fea9
2 commits,
Nov 17, 2021
1 file
+
8
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tools/docker-pugs.sh
+
8
−
10
View file @ 3db7fea9
Edit in single-file editor
Open in Web IDE
Show full file
@@ -35,30 +35,28 @@ mkdir -p ${DOCKERFILE_DIR}
DOCKERFILE
=
"
${
DOCKERFILE_DIR
}
/Dockerfile"
cat
>
${
DOCKERFILE
}
<<
EOF
FROM ubuntu:
bionic
FROM ubuntu:
focal
ARG DEBIAN_FRONTEND=noninteractive
ENV USER="
${
USER
}
" USER_ID="
${
USER_ID
}
" USER_GID="
${
USER_GID
}
" HOSTNAME="
${
DOCKER_HOSTNAME
}
"
ENV TZ=Europe/Paris
RUN echo "
${
DOCKER_HOSTNAME
}
" > /etc/hostname
RUN groupadd --gid "
${
USER_GID
}
" "
${
USER
}
"
RUN useradd --uid "
${
USER_ID
}
" --gid "
${
USER_GID
}
" --create-home --shell /bin/bash "
${
USER
}
"
RUN apt-get update && apt-get -y upgrade && apt-get -y remove g++ gcc && apt-get -y install cmake git make lcov bc gnupg gnupg2 gnupg1 wget
RUN echo 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main' > /etc/apt/sources.list.d/backports.list
RUN wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
RUN apt-get update && apt-get -y upgrade && apt-get -y remove g++ gcc && apt-get -y install apt-utils gnupg gnupg2 gnupg1 wget cmake git make lcov bc pkg-config sudo doxygen
RUN apt-get
update && apt-get -y upgrade && apt-get -y install clang-8 clang-tools-8 clang-8-doc libclang-common-8-dev libclang-8-dev libclang1-8 clang-format-8 python-clang-8
RUN apt-get
-y install clang-10 clang-format-10
RUN apt-get -y install libparmetis-dev
sudo
RUN apt-get -y install libparmetis-dev
petsc-dev slepc-dev
RUN apt-get clean
RUN rm /usr/bin/cc
RUN echo "
${
USER
}
ALL=(ALL:ALL) NOPASSWD:ALL" > "/etc/sudoers.d/
${
USER
}
"
RUN ln -s /usr/bin/clang-format-
8
/usr/bin/clang-format
RUN ln -s /usr/bin/clang-format-
10
/usr/bin/clang-format
ENV CC="clang-
8
" CXX="clang++-
8
"
ENV CC="clang-
10
" CXX="clang++-
10
"
EOF
Loading