Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity authored Feb 27, 2024
1 parent e8a34f1 commit 9ff53bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ENV RADSECPROXY_DIR=/etc/radsecproxy
RUN apk update && \
apk add --no-cache \
openssl \
ca-certificates \
radsecproxy \
gettext \
bind-tools \
Expand All @@ -35,6 +36,15 @@ RUN mkdir -p /etc/pki/cacerts_temp && \
RUN find /etc/pki/cacerts_temp -type f -size +0 -exec mv {} /etc/pki/cacerts/ \; && \
rm -rf /etc/pki/cacerts_temp

# Copy the CA certificates to the trusted root folder
COPY pki/ /usr/local/share/ca-certificates/
COPY pki/ /etc/ssl/certs/

# Update the trusted root certificates
RUN cp -r /etc/pki/ /usr/local/share/ca-certificates/ && \
cp -r /etc/pki/ /etc/ssl/certs/ && \
update-ca-certificates --fresh

# Copy the entrypoint script into the container
COPY entrypoint.sh /

Expand Down

0 comments on commit 9ff53bc

Please sign in to comment.