add docker to ubuntu
This commit is contained in:
parent
8bbd3e17aa
commit
038211615b
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
FROM ubuntu
|
||||
|
||||
RUN apt-get -y update && \
|
||||
RUN apt-get -y update && \
|
||||
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 - && \
|
||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && \
|
||||
apt-get -y install docker-ce && \
|
||||
apt-get install -y curl diffutils jq bash git zsh docker nodejs npm yarn docker
|
||||
CMD [ "zsh" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue