Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for using Debian 9 Stretch in 2023 #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM debian:stretch-slim as cryptopro-generic
# Устанавливаем timezone
ENV TZ="Europe/Moscow" \
docker="1"
# Debian 9 Stretch ушла в архив, без этой строки пакеты не выкачать
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone
Expand Down Expand Up @@ -34,7 +36,7 @@ FROM cryptopro-generic
ADD dist /tmp/src

RUN apt-get update && \
apt-get install -y --no-install-recommends expect alien php7.0-cli php7.0-dev libboost-dev unzip g++ curl && \
apt-get install -y --no-install-recommends lsb-core libccid pcscd libmotif-common expect alien php7.0-cli php7.0-dev libboost-dev unzip g++ curl && \
cd /tmp/src && \
tar -xf cades_linux_amd64.tar.gz && \
alien -kci lsb-cprocsp-devel-4.0.9921-5.noarch.rpm && \
Expand Down