File: Dockerfile

package info (click to toggle)
galera-4 26.4.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,808 kB
  • sloc: cpp: 133,347; ansic: 12,142; sh: 1,437; tcl: 51; makefile: 12
file content (20 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use a base image with a Linux distribution of your choice
# Default: Debian testing for most recent compilers

ARG base=testing-slim
FROM ${base}

# Install necessary packages to build DEB
RUN apt update && apt upgrade -y && \
    apt install -y \
        g++ clang cmake check libatomic1 \
        libasio-dev \
        libboost-atomic-dev \
        libboost-program-options-dev \
        && \
    apt clean && rm -rf /var/lib/apt/lists/*

# Set up the build script to be executed on docker run
COPY entrypoint.sh /root
WORKDIR /root
ENTRYPOINT /root/entrypoint.sh