이번에 할 작업은 extension 설치이다.
linux 사용 시 기본적으로 사용 될 프로그램들을 이미지에 미리 넣어 따로 일일히 다운받지 않아도 되도록 한다.
프로그램 다운 명령어 사용 전 LINUX의 set 명령을 주고 사용할 것이다.
set 명령어는 환경변수를 확인하는 명령어인데, 이 명령어의 옵션을 통해 다음과 같은 효과를 볼 수 있다.
apt를 사용해서 설치해준다.
## install extensions ##
# vim: text editor
# tmux: split screen
# wget: file downloader
# man: linux manual
# sudo: superuser do
# net-tools: network tools (ifconfig etc...)
# git: git
# build-essential: generaly used packages for building source codes
# libcurses-perl: libraries for perl
# python3: python3
# python3-pip: python library downloader (pip3)
# curl: transferring data from or to a server designed to work without user interaction
RUN set -xe \
&& apt -y -qq install vim tmux wget tar man sudo net-tools git build-essential libcurses-perl python3 python3-pip curl