Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Oskars Germovs <[email protected]>
  • Loading branch information
Faks committed Mar 23, 2024
1 parent 21371e4 commit c2edb07
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions workspace/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,11 @@ RUN if [ ${INSTALL_XDEBUG} = false -a ${INSTALL_BLACKFIRE} = true ]; then \

ARG INSTALL_WORKSPACE_SSH=false

RUN mkdir -p /tmp/secure_ssh_keys \
RUN apt update \
&& apt install sudo -y \
&& chmod +x /home/laradock/phpset.sh \
&& chown laradock:laradock /home/laradock/phpset.sh \
&& mkdir -p /tmp/secure_ssh_keys \
&& chmod 7777 /tmp/secure_ssh_keys \
&& mkdir -p /tmp/insecure_ssh_keys \
&& chmod 7777 /tmp/insecure_ssh_keys
Expand All @@ -447,6 +451,7 @@ COPY insecure_id_rsa /tmp/insecure_ssh_keys/id_rsa
COPY insecure_id_rsa.pub /tmp/insecure_ssh_keys/id_rsa.pub

COPY install_ssh_keys.sh /usr/local/bin/install_ssh_keys.sh
COPY phpset.sh /home/laradock/phpset.sh

RUN chmod +x /usr/local/bin/install_ssh_keys.sh \
&& /usr/local/bin/install_ssh_keys.sh \
Expand Down Expand Up @@ -2099,11 +2104,3 @@ RUN set -eux \
php-pear \
postgresql-client \
&& apt-get clean


COPY phpset.sh /home/laradock/phpset.sh

RUN apt update && \
apt install sudo -y && \
chmod +x /home/laradock/phpset.sh && \
chown laradock:laradock /home/laradock/phpset.sh

0 comments on commit c2edb07

Please sign in to comment.