Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
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
Container Registry
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Merge requests
!714
feat: rm unused dind files
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: rm unused dind files
rm-dind
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Wouter Deconinck
requested to merge
rm-dind
into
master
1 year ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
version 1
6a4d69e8
1 year ago
master (base)
and
version 1
latest version
9d6d9f1b
2 commits,
1 year ago
version 1
6a4d69e8
1 commit,
1 year ago
1 file
+
0
−
61
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
containers/dind/Dockerfile deleted
100644 → 0
+
0
−
61
Options
FROM
ubuntu:22.04
LABEL
maintainer="Whitney Armstrong <warmstrong@anl.gov>" \
name="ubuntu_dind" \
group="ubuntu_dind" \
march="native" \
base="ubuntu" \
version="22.04"
RUN
apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
\
apt-transport-https
\
binfmt-support
\
build-essential
\
ca-certificates
\
cryptsetup
\
curl
\
gettext
\
git
\
iptables
\
libglib2.0-dev
\
libgpgme11-dev
\
libseccomp-dev
\
libssl-dev
\
lxc
\
make
\
pkg-config
\
qemu
\
qemu-user-static
\
uuid-dev
\
squashfs-tools
\
wget
# Install Go
ARG
GO_OS=linux
ARG
GO_ARCH=amd64
ARG
GO_VERSION=1.20.5
ARG
GO_URL=https://dl.google.com/go/go${GO_VERSION}.${GO_OS}-${GO_ARCH}.tar.gz
RUN
curl
-L
${
GO_URL
}
|
tar
-C
/usr/local
-xzvf
-
# Install Singularity CE
ARG
SINGULARITY_VERSION=3.11.4
ARG
SINGULARITY_URL=https://github.com/sylabs/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-ce-${SINGULARITY_VERSION}.tar.gz
RUN
curl
-L
${
SINGULARITY_URL
}
|
tar
-C
/tmp
-xzf
-
\
&&
cd
/tmp/singularity-ce-
${
SINGULARITY_VERSION
}
\
&&
export
PATH
=
/usr/local/go/bin:
$PATH
\
&&
./mconfig
\
&&
make
-C
builddir
\
&&
make
-C
builddir
install
\
&&
rm
-rf
/tmp/singularity-ce-
${
SINGULARITY_VERSION
}
# Install Docker
ARG
DOCKER_VERSION=24
ADD
https://get.docker.com/ /tmp/get-docker.sh
RUN
bash /tmp/get-docker.sh
--version
${
DOCKER_VERSION
}
# Install the magic wrapper.
ADD
--chmod=0755 wrapdocker /usr/local/bin/wrapdocker
# Define additional metadata for our image.
VOLUME
/var/lib/docker
CMD
["wrapdocker"]
Loading