Commit 023a33d7 authored by Philipp Götze's avatar Philipp Götze

🐳 Update Dockerfile

parent 16e6d8d7
Pipeline #363 passed with stages
in 8 minutes and 3 seconds
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment