-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile_sles
More file actions
26 lines (19 loc) · 793 Bytes
/
Dockerfile_sles
File metadata and controls
26 lines (19 loc) · 793 Bytes
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
# syntax=docker/dockerfile:1
FROM registry.suse.com/suse/sle15:latest@sha256:725aee61c55c30995c8dfb4ee5aee62759970a5e0ec88de0039ead15114b7de0
# Set the terminal type to Xterm.
ENV TERM=xterm
# Define the default version of nodebuilder or pass in a different version (eg master) as an argument.
ARG NODEBUILDER_VERSION=v2.2.0
# Define the nodebuilder URL.
ARG NODEBUILDER_URL=https://github.com/bitcoin-tools/nodebuilder/raw/${NODEBUILDER_VERSION}/nodebuilder
ARG CI=false
# Check the current environment.
RUN uname -a \
&& cat /etc/os-release \
&& df -h \
&& grep Mem /proc/meminfo \
&& date -u
# TODO: remove this line after next release
RUN zypper --non-interactive install procps
# Download and execute the script.
RUN CI=${CI} /bin/sh -c "$(curl -fsSL ${NODEBUILDER_URL} )"