Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Revert "temp: team debugging"
Daniel Hougaard1d3dca11e704
diff --git a/backend/Dockerfile.dev b/backend/Dockerfile.devindex 552508e36c..97bc2c6a36 100644--- a/backend/Dockerfile.dev+++ b/backend/Dockerfile.dev@@ -1,21 +1,47 @@-FROM --platform=linux/amd64 node:20-alpine+FROM node:20-alpine-# ? App setup+# ? Setup a test SoftHSM module. In production a real HSM is used.++ARG SOFTHSM2_VERSION=2.5.0+ENV SOFTHSM2_VERSION=${SOFTHSM2_VERSION} \+ SOFTHSM2_SOURCES=/tmp/softhsm2++# install build dependencies including python3RUN apk --update add \+ alpine-sdk \+ autoconf \+ automake \+ git \+ libtool \+ openssl-dev \python3 \make \- g++ \- gcompat \- libstdc+++ g++-RUN apk add --no-cache bash curl && curl -1sLf \- 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \- && apk add infisical=0.8.1 && apk add --no-cache git+# build and install SoftHSM2+RUN git clone https://github.com/opendnssec/SoftHSMv2.git ${SOFTHSM2_SOURCES}+WORKDIR ${SOFTHSM2_SOURCES}++RUN git checkout ${SOFTHSM2_VERSION} -b ${SOFTHSM2_VERSION} \+ && sh autogen.sh \+ && ./configure --prefix=/usr/local --disable-gost \+ && make \+ && make install+WORKDIR /root+RUN rm -fr ${SOFTHSM2_SOURCES}-ENV ChrystokiConfigurationPath=/usr/safenet/lunaclient/+# install pkcs11-tool+RUN apk --update add opensc+RUN softhsm2-util --init-token --slot 0 --label "auth-app" --pin 1234 --so-pin 0000++# ? App setup++RUN apk add --no-cache bash curl && curl -1sLf \+ 'https://dl.cloudsmith.io/public/infisical/infisical-cli/setup.alpine.sh' | bash \+ && apk add infisical=0.8.1 && apk add --no-cache gitWORKDIR /appdiff --git a/docker-compose.dev.yml b/docker-compose.dev.ymlindex fc78f2562a..9e56ae5891 100644--- a/docker-compose.dev.yml+++ b/docker-compose.dev.yml@@ -92,7 +92,6 @@ services:- TELEMETRY_ENABLED=falsevolumes:- ./backend/src:/app/src- - "/etc/luna-docker:/usr/safenet/lunaclient"extra_hosts:- "host.docker.internal:host-gateway"