Last active
December 14, 2018 08:07
-
-
Save yunusemreayhan/dab7687d494b087e8f2180c5f2d44025 to your computer and use it in GitHub Desktop.
sample ubuntu compile machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
CMD /bin/bash | |
RUN apt-get update --upgrade | |
RUN apt-get install -y make cmake g++ gcc git libczmq-dev libwebsockets-dev build-essential | |
RUN apt-get -y install sudo --no-install-recommends apt-utils | |
RUN adduser --disabled-password --gecos '' yunus | |
RUN adduser yunus sudo | |
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | |
RUN mkdir -p /home/yunus/repo | |
USER yunus | |
WORKDIR /home/yunus | |
RUN sudo apt-get -y install vim | |
RUN git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime | |
RUN sh ~/.vim_runtime/install_awesome_vimrc.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment