forked from pmem/pmemstream
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfedora-35.Dockerfile
More file actions
34 lines (26 loc) · 1.02 KB
/
fedora-35.Dockerfile
File metadata and controls
34 lines (26 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2021-2022, Intel Corporation
#
# Dockerfile - a 'recipe' for Docker to build an image of ubuntu-based
# environment prepared for running pmemstream tests.
#
# Pull base image
FROM ghcr.io/pmem/dev-utils-kit:fedora-35-latest
MAINTAINER igor.chorazewicz@intel.com
# use 'root' while building the image
USER root
# Install all PMDK packages
# Use non-released ("custom") version with the fix for proper ndctl header include
ENV PMDK_VERSION bbd93c8c4c3ca8bc4d1136ad30b3bc15fa78919a
RUN /opt/install-pmdk.sh /opt/pmdk/
# Install rapidcheck
COPY install-rapidcheck.sh install-rapidcheck.sh
RUN ./install-rapidcheck.sh
COPY install-miniasync.sh install-miniasync.sh
RUN ./install-miniasync.sh
# Download scripts required in run-*.sh
COPY download-scripts.sh download-scripts.sh
COPY 0001-fix-generating-gcov-files-and-turn-off-verbose-log.patch 0001-fix-generating-gcov-files-and-turn-off-verbose-log.patch
RUN ./download-scripts.sh
# switch back to regular user
USER ${USER}