install docker cli tool
This commit is contained in:
parent
9fcbac8dc1
commit
c8aca587e0
|
@ -2,6 +2,11 @@ FROM sahrea/webserver
|
|||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
RUN apt-get update && apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
|
||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
||||
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
|
||||
RUN apt-get update && apt-get -y install docker-ce-cli
|
||||
|
||||
RUN touch /var/run/docker.sock && chmod 777 /var/run/docker.sock
|
||||
|
||||
COPY index.php /var/www/html/index.php
|
||||
|
|
Loading…
Reference in New Issue