Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
68 lines (57 sloc) 1.44 KB
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
# Locales
RUN apt-get update && apt-get install -y locales
ENV LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LANGUAGE="en_US.UTF-8"
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen --purge $LANG && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=$LANG LC_ALL=$LC_ALL LANGUAGE=$LANGUAGE
# Common packages
RUN apt-get update && apt-get install -y \
build-essential \
software-properties-common \
tzdata \
psmisc \
curl \
git \
wget \
tmux \
vim \
zsh \
ledger \
mosh \
ruby \
ruby-dev \
mosquitto \
mosquitto-clients \
postgresql-client \
jq \
rsync \
ansible \
lastpass-cli
# Install Node.js LTS
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs
# Install Bundler
RUN gem install bundler --no-document
# Install oh-my-zsh
RUN chsh -s /usr/bin/zsh
RUN curl -L http://install.ohmyz.sh | sh || true
# Set up timezone
ENV TZ 'Europe/Berlin'
RUN echo $TZ > /etc/timezone && \
rm /etc/localtime && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata
# Set up dotfiles
COPY ./zsh/* /root/
COPY ./vim/ /root/
COPY ./git/* /root/
# Set up volumes
WORKDIR /projects
VOLUME /projects
VOLUME /keys
# Enable colors
ENV TERM=xterm-256color
CMD ["tmux"]