Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 000af28

Browse files
docker: add Debian:latest image (pointing to the latest stable release)
1 parent 06b53ab commit 000af28

2 files changed

Lines changed: 75 additions & 0 deletions

File tree

.github/workflows/other_OSes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
"OS=archlinux-base OS_VER=latest",
3131
"OS=debian OS_VER=testing",
3232
"OS=debian OS_VER=unstable",
33+
"OS=debian OS_VER=latest",
3334
"OS=fedora OS_VER=33",
3435
"OS=fedora OS_VER=rawhide PUSH_IMAGE=0",
3536
"TYPE=package OS=fedora OS_VER=rawhide",
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
# Copyright 2016-2021, Intel Corporation
3+
4+
#
5+
# Dockerfile - a 'recipe' for Docker to build an image of debian-based
6+
# environment prepared for running libpmemobj-cpp tests.
7+
#
8+
9+
# Pull base image
10+
FROM registry.hub.docker.com/library/debian:latest
11+
MAINTAINER igor.chorazewicz@intel.com
12+
13+
# Set required environment variables
14+
ENV OS debian
15+
ENV OS_VER latest
16+
ENV PACKAGE_MANAGER deb
17+
ENV NOTTY 1
18+
19+
# Additional parameters to build docker without building components
20+
ARG SKIP_VALGRIND_BUILD
21+
ARG SKIP_PMDK_BUILD
22+
23+
ENV DEBIAN_FRONTEND noninteractive
24+
25+
# Update the Apt cache and install basic tools
26+
RUN apt-get update \
27+
&& apt-get install -y software-properties-common \
28+
asciidoc \
29+
autoconf \
30+
clang \
31+
clang-format \
32+
cmake \
33+
curl \
34+
debhelper \
35+
devscripts \
36+
doxygen \
37+
gcc \
38+
gdb \
39+
git \
40+
graphviz \
41+
libdaxctl-dev \
42+
libjson-c-dev \
43+
libkmod-dev \
44+
libncurses5-dev \
45+
libndctl-dev \
46+
libsfml-dev \
47+
libtbb-dev \
48+
libtext-diff-perl \
49+
libudev-dev \
50+
libunwind-dev \
51+
llvm \
52+
pandoc \
53+
pkg-config \
54+
ruby \
55+
sudo \
56+
tzdata \
57+
uuid-dev \
58+
wget \
59+
whois \
60+
&& rm -rf /var/lib/apt/lists/*
61+
62+
# Install valgrind
63+
COPY install-valgrind.sh install-valgrind.sh
64+
RUN ./install-valgrind.sh
65+
66+
# Install pmdk
67+
COPY install-pmdk.sh install-pmdk.sh
68+
RUN ./install-pmdk.sh dpkg
69+
70+
# Add user
71+
ENV USER user
72+
ENV USERPASS pass
73+
RUN useradd -m $USER -g sudo -p `mkpasswd $USERPASS`
74+
USER $USER

0 commit comments

Comments
 (0)