-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathDockerfile
More file actions
43 lines (37 loc) · 1.17 KB
/
Copy pathDockerfile
File metadata and controls
43 lines (37 loc) · 1.17 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
35
36
37
38
39
40
41
42
43
FROM almalinux:10
WORKDIR /
RUN dnf install -y --enablerepo=crb \
autoconf \
automake \
bison \
bzip2 \
cpio \
gcc-c++ \
git \
java-21-openjdk-headless \
libffi-devel \
libtool \
libyaml-devel \
make \
openssl-devel \
patch \
readline \
readline-devel \
rpm-build \
ruby \
ruby-devel \
sqlite-devel \
wget \
zlib \
zlib-devel
# Extract SLES RPM macros to aid in the expansion of macros on SLES
# Isolate the target SUSE/SLES 15 systemd RPM macros to avoid EL10 host collision
RUN mkdir -p /opt/suse-rpm-macros && \
wget -q https://download.opensuse.org/distribution/leap/15.6/repo/oss/noarch/systemd-rpm-macros-15-150000.7.39.1.noarch.rpm -O /tmp/suse-rpm-macros.rpm && \
rpm2cpio /tmp/suse-rpm-macros.rpm | cpio -idmv -D /opt/suse-rpm-macros && \
rm /tmp/suse-rpm-macros.rpm
ADD --chmod=0755 https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein /usr/local/bin/lein
RUN git config --global user.email "openvox@voxpupuli.org" && \
git config --global user.name "Vox Pupuli" && \
git config --global --add safe.directory /code
CMD ["tail", "-f", "/dev/null"]