Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

75 lines (54 sloc) 2.62 KB
FROM ubuntu:18.04
ENV HOME /home/radu
RUN apt-get update
RUN apt-get install -y zsh
RUN apt-get install -y wget
RUN apt-get install -y git
RUN apt-get install -y build-essential
RUN wget -O - | zsh || true
RUN wget -qO- | bash
RUN wget -qO- | bash
RUN apt-get install -y bison
RUN apt-get install -y curl
ENV PATH="~/.nvm:${PATH}"
RUN /bin/zsh -c "source ~/.zshrc && nvm install --lts"
WORKDIR /home/radu/tmp
RUN curl -O
RUN tar -xvf go1.12.12.linux-amd64.tar.gz && chown -R root:root ./go && mv go /usr/local
ENV GOPATH="/home/radu/projects"
ENV PATH="/usr/local/go/bin/:/home/radu/projects/bin/:${PATH}"
ENV RUSTUP_HOME="/home/radu/.rustup"
ENV CARGO_HOME="/home/radu/.cargo"
ENV PATH="/home/radu/.rustup:/home/radu/.cargo:/home/radu/.cargo/bin:$PATH"
RUN /bin/zsh -c "curl -sSf | sh -s -- -y --default-toolchain nightly"
RUN /bin/zsh -c "source ~/.zshrc && rustup default nightly"
RUN apt-get install -y nano && apt-get install -y vim
RUN go get -u
RUN /bin/zsh -c "cat >> ~/.zshrc"
RUN apt-get install -y unzip
RUN /bin/zsh -c "wget && unzip && mv exa-linux-x86_64 $GOPATH/bin/exa"
RUN /bin/bash -c "wget && tar xfv bat-v0.12.1-x86_64-unknown-linux-musl.tar.gz && mv bat-v0.12.1-x86_64-unknown-linux-musl/bat $GOPATH/bin"
RUN apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
RUN curl -fsSL | apt-key add - && apt-key fingerprint 0EBFCD88
RUN add-apt-repository \
"deb [arch=amd64] \
$(lsb_release -cs) \
RUN apt-get update && apt-get install -y docker-ce docker-ce-cli
RUN wget && chmod +x kind-linux-amd64 && mv kind-linux-amd64 $GOPATH/bin/kind
RUN apt-get install -y chromium-browser
RUN apt-get -y install sudo
RUN useradd -ms /bin/zsh radu
RUN usermod -aG sudo radu
RUN sudo chown -R radu /home
ARG pwd
RUN echo radu:${pwd} | chpasswd
RUN sudo usermod -aG docker radu
USER radu
CMD ["zsh"]
You can’t perform that action at this time.