-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile_oraclelinux
More file actions
32 lines (25 loc) · 966 Bytes
/
Dockerfile_oraclelinux
File metadata and controls
32 lines (25 loc) · 966 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
27
28
29
30
31
32
# syntax=docker/dockerfile:1
# Oracle Linux is known for its robustness and performance.
# This Dockerfile is a good choice for modern and resource-rich environments.
FROM oraclelinux:10@sha256:114259d8f10984ac4349a9495fde7e201e8396b0d1b9429933ad499687518987
# 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
# Install sudo dependency.
RUN dnf makecache \
&& dnf --allowerasing --assumeyes install wget \
&& dnf clean all
# Download and execute the script.
RUN wget ${NODEBUILDER_URL} \
&& chmod u+x nodebuilder \
&& CI=${CI} ./nodebuilder