Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
code
PMem-based Data Structures
Commits
023a33d7
Commit
023a33d7
authored
Jan 16, 2020
by
Philipp Götze
Browse files
🐳
Update Dockerfile
parent
16e6d8d7
Pipeline
#363
passed with stages
in 8 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
023a33d7
FROM
fedora
:latest
FROM
dbisilm/pmdk
:latest
MAINTAINER
Philipp Goetze <philipp.goetze@tu-ilmenau.de>
RUN
dnf update
-y
\
&&
dnf
install
-y
\
passwd
\
git
\
make
\
cmake
\
g++
\
ndctl-devel
\
daxctl-devel
\
libpmempool-devel
\
libpmemobj++-devel
\
&&
dnf clean all
# Add user and allow sudo
ENV
USER user
ENV
USERPASS pass
RUN
useradd
-m
$USER
\
&&
echo
$USERPASS
| /usr/bin/passwd
$USER
--stdin
RUN
gpasswd wheel
-a
$USER
# Set default user
USER
$USER
# Set some environment variables
ENV
PMEM_IS_PMEM_FORCE 1
ENV
CC gcc
ENV
CXX g++
WORKDIR
/home/$USER
# Download and prepare project
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment