본문 바로가기

IT/Docker

[Dockerfile] 자주쓰는 instruction

rampart81.github.io/post/dockerfile_instructions/

 

자주쓰는 Dockerfile instruction들 - Blog by Eun Woo Song

FROM FROM instruction을 사용하여 base image를 지정한다. 주로 ubuntu 같은 OS를 지정하게 된다. Base image를 지정할때는 ubuntu:16.04 처럼 OS와 버젼까지 정확히 지정해주는것이 좋다. RUN package를 인스톨 한다

rampart81.github.io

 

'IT > Docker' 카테고리의 다른 글