mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Don't copy private SSH key into docker image
We can mount the .ssh at runtime. This will allow us to push the docker image to dockerhub without exposing any secrects.
This commit is contained in:
parent
e70d9c959d
commit
5bdc728028
@ -4,6 +4,5 @@ RUN apt-get update \
|
||||
&& apt-get -y install --no-install-recommends openssh-client rsync \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY .ssh /root/.ssh/
|
||||
COPY import.sh .
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user