wrap cli into a docker image

This commit is contained in:
Maidul Islam
2024-01-02 13:43:39 -05:00
parent d5063018eb
commit 94557344b7
3 changed files with 38 additions and 31 deletions

View File

@@ -1,4 +0,0 @@
FROM alpine
RUN apk add --no-cache tini
COPY infisical /bin/infisical
ENTRYPOINT ["/sbin/tini", "--", "/bin/infisical"]

9
cli/docker/alpine Normal file
View File

@@ -0,0 +1,9 @@
FROM alpine
RUN apk add --no-cache tini
## Upgrade OpenSSL libraries to mitigate known vulnerabilities as the current Alpine image has not been patched yet.
RUN apk update && apk upgrade --no-cache libcrypto3 libssl3
COPY infisical /infisical
ENTRYPOINT ["/sbin/tini", "--", "/infisical"]