27 lines
745 B
Docker
27 lines
745 B
Docker
ARG BASE_REPO="repo.nstart.local/nstart/"
|
|
ARG BASE_TAG="25-trixie-slim"
|
|
|
|
FROM ${BASE_REPO}node:${BASE_TAG}
|
|
|
|
COPY ispras/ispras-archive-keyring.gpg /usr/share/keyrings/ispras-archive-keyring.gpg
|
|
COPY ispras/ispras.list /etc/apt/sources.list.d/ispras.list
|
|
COPY ./hasplm-recepient.ini /etc/hasplm/hasplm.ini
|
|
|
|
RUN <<EOF
|
|
set -eux
|
|
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends ca-certificates
|
|
update-ca-certificates
|
|
|
|
mkdir -p /etc/init.d
|
|
apt-get update
|
|
apt-get install -y --install-recommends svace svacer procps
|
|
|
|
apt-get clean
|
|
rm -rf /var/lib/apt/lists/*
|
|
EOF
|
|
|
|
COPY --chmod=0755 ./svace /usr/local/bin/svace
|
|
COPY --chmod=0755 ./python/enable-python-warnings.sh /usr/local/bin/enable-python-warnings.sh
|