Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build-images
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
cernvm
build-images
Merge requests
!1
Container for building snapshotter
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Container for building snapshotter
avalenzu/build-images:snapshotter_container
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Andrea Valenzuela Ramirez
requested to merge
avalenzu/build-images:snapshotter_container
into
master
3 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Create the corresponding Dockerfile to start up a container for building snapshotter.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
af4ab3dd
1 commit,
3 years ago
1 file
+
58
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docker/snapshotter_x86_64:el8.Dockerfile
0 → 100644
+
58
−
0
Options
FROM
amd64/centos:8
MAINTAINER
Jakob Blomer <jblomer@cern.ch>
# This two args should not be necessary, but the bug fixed by
# https://github.com/opencontainers/runc/pull/2086
# makes them necessary in our environment
ARG
SFTNIGHT_UID=500
ARG
SFTNIGHT_GID=500
RUN
yum
-y
update
RUN
yum
-y
install
filesystem
RUN
yum
-y
install
epel-release
RUN
yum
-y
install
\
cmake
\
curl-devel
\
fuse-devel
\
fuse3-devel
\
gcc-c++
\
gdb
\
git
\
golang
\
hardlink
\
libattr-devel
\
libcap-devel
\
libffi-devel
\
libuuid-devel
\
make
\
openssl-devel
\
python2
\
python2-devel
\
python3-devel
\
rpm-build
\
ruby-devel
\
selinux-policy-devel
\
selinux-policy-targeted
\
which
\
valgrind-devel
\
voms-devel
\
zlib-devel
\
lsb
\
fuse3
# Don't include container-selinux and remove
# directories used by dnf that are just taking
# up space.
# Picked up by $cvmfs-source/ci/build_package.sh
RUN
echo
"snapshotter"
>
/cvmfs-package-type
# Similarly to the node above.
# `adduser sftnight` should be sufficient, but the bug above requires
# this workaround
RUN
groupadd
--gid
$SFTNIGHT_GID
sftnight
&&
\
adduser
--uid
$SFTNIGHT_UID
--gid
$SFTNIGHT_GID
sftnight
USER
sftnight
WORKDIR
/home/sftnight
Loading