fix build docker
This commit is contained in:
parent
38f43978db
commit
c98fae646a
|
|
@ -54,7 +54,7 @@ RUN apt update && apt install -y okular-csp-utils
|
|||
|
||||
RUN mkdir -p /root/.config
|
||||
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
|
||||
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -x
|
||||
|
||||
if [[ $SITE == "prod"]];then
|
||||
if [[ $APP_ENV == "prod"]];then
|
||||
service pcscd start
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue