Skip to content

Commit

Permalink
Updated Docker image as technically I am using a pre-made keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewQuijano committed Feb 11, 2024
1 parent ce17c24 commit 52500bd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ RUN mv /code/data/* /data/
RUN chmod +x /scripts/*
WORKDIR /code

# Move certificate
# https://stackoverflow.com/questions/54402673/how-to-fix-ssl-certificate-problem-self-signed-certificate-in-certificate-chain
# https://stackoverflow.com/questions/26028971/docker-container-ssl-certificates
# https://www.obungi.com/2019/05/08/how-to-create-and-use-self-singed-certificates-in-an-ubuntu-docker-container-to-trust-external-resources/
RUN apt-get update && apt-get install -y curl && apt-get install -y ca-certificates
RUN cp ppdt-certificate /usr/local/share/ca-certificates/
RUN update-ca-certificates

RUN useradd tree-user
RUN chown -R tree-user:tree-user /scripts/
RUN chown -R tree-user:tree-user /code/
Expand Down

0 comments on commit 52500bd

Please sign in to comment.