TD-322: [BACK]. [реализовать сервис для подписания документов в контейнере signer] #2
|
|
@ -54,7 +54,7 @@ RUN apt update && apt install -y okular-csp-utils
|
||||||
|
|
||||||
RUN mkdir -p /root/.config
|
RUN mkdir -p /root/.config
|
||||||
COPY license.key /license.key
|
COPY license.key /license.key
|
||||||
RUN pdfcpro install-license /license.key
|
RUN echo Y | pdfcpro install-license /license.key
|
||||||
COPY Inter-Bold.ttf /usr/local/share/fonts/Inter-Bold.ttf
|
COPY Inter-Bold.ttf /usr/local/share/fonts/Inter-Bold.ttf
|
||||||
|
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
if [[ $SITE == "prod"]];then
|
if [[ $APP_ENV == "prod"]];then
|
||||||
service pcscd start
|
service pcscd start
|
||||||
cert=$(/opt/cprocsp/bin/amd64/csptest -keyset -enum_cont -verifyc -fq | grep Aktiv | awk -F'00 00' '{print $2}' | tr -d '\\')
|
cert=$(/opt/cprocsp/bin/amd64/csptest -keyset -enum_cont -verifyc -fq | grep Aktiv | awk -F'00 00' '{print $2}' | tr -d '\\')
|
||||||
/opt/cprocsp/bin/amd64/certmgr -inst -cont "${cert}" -store uMy
|
/opt/cprocsp/bin/amd64/certmgr -inst -cont "${cert}" -store uMy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue