-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
47 lines (41 loc) · 1014 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM ubuntu:18.04
LABEL maintainer="Huw Diprose <[email protected]>"
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm-256color
# Bootstrapping packages needed for installation
RUN \
apt-get update && \
apt-get install -yqq \
apt-utils \
locales \
lsb-release \
software-properties-common && \
apt-get clean
# Set locale to UTF-8
ENV LANGUAGE en_GB.UTF-8
ENV LANG en_GB.UTF-8
RUN localedef -i en_GB -f UTF-8 en_GB.UTF-8 && \
/usr/sbin/update-locale LANG=$LANG
# Install dependencies
# `universe` is needed for ruby
# `security` is needed for fontconfig and fc-cache
RUN \
apt-get update && \
apt-get -yqq install \
ruby-full \
git \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# autoconf \
# build-essential \
# fasd \
# python \
# python-setuptools \
# python-dev \
# Install dotfiles
COPY . /root/.dotfiles
RUN cd /root/.dotfiles && rake install
# Run a zsh session
CMD [ "/bin/zsh" ]