-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
26 lines (21 loc) · 755 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
# This dockerfile is for Centaur dotfiles
# VERSION 1.0.0
# Author: Maririn312
# Command format: Instruction [arguments / command] ..
# Base image to use
FROM ubuntu
# Maintainer:
MAINTAINER Vincent Zhang [email protected]
# Commands to update the image
RUN cp /etc/apt/sources.list /etc/apt/sources.list.bak
RUN sed -i "s/archive.ubuntu.com/mirrors.aliyun.com/g" /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y software-properties-common
# Install Centaur Emacs
RUN add-apt-repository -y ppa:kelleyk/emacs
RUN apt-get update
RUN apt-get install -y wget curl sudo git zsh emacs26-nox
RUN sh -c "$(wget https://github.com/seagle0128/dotfiles/raw/master/install.sh -O -)"
ENV TERM xterm-256color
WORKDIR /root