Last active
September 20, 2019 09:51
-
-
Save ziggy42/a914498111a6e9a09b5f7ab99eee3ef1 to your computer and use it in GitHub Desktop.
docker build . --build-arg ACCESS_KEY_ID='<redacted>' --build-arg SECRET_ACCESS_KEY='<redacted>'
This file contains hidden or 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 | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| ARG ACCESS_KEY_ID | |
| ARG SECRET_ACCESS_KEY | |
| ENV AWS_ACCESS_KEY_ID=${ACCESS_KEY_ID} | |
| ENV AWS_SECRET_ACCESS_KEY=${SECRET_ACCESS_KEY} | |
| RUN apt update && apt install -y \ | |
| byobu \ | |
| zsh \ | |
| curl \ | |
| git \ | |
| jq \ | |
| tree \ | |
| openjdk-11-jdk \ | |
| gcc \ | |
| g++ \ | |
| make \ | |
| awscli | |
| RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt install -y nodejs | |
| RUN git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \ | |
| && cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc \ | |
| && chsh -s /bin/zsh \ | |
| && sed -i 's#PROMPT=\"#PROMPT=\"jail #' /root/.oh-my-zsh/themes/robbyrussell.zsh-theme | |
| RUN cd /usr/bin && curl https://getmic.ro | bash | |
| RUN apt clean | |
| WORKDIR /root | |
| CMD zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment