add docker to ubuntu
This commit is contained in:
parent
f197a15745
commit
9dfa4c9b6c
1 changed files with 1 additions and 0 deletions
|
|
@ -5,5 +5,6 @@ RUN apt-get -y update && \
|
||||||
apt-get install -y apt-transport-https ca-certificates curl software-properties-common && \
|
apt-get install -y apt-transport-https ca-certificates curl software-properties-common && \
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && \
|
||||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && \
|
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && \
|
||||||
|
apt-get update -y && \
|
||||||
apt-get install -y docker-ce
|
apt-get install -y docker-ce
|
||||||
CMD [ "zsh" ]
|
CMD [ "zsh" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue