forked from jamesnetherton/docker-atom-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (35 loc) · 850 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
FROM ubuntu:latest
ENV ATOM_VERSION v1.35.1
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
fakeroot \
gconf2 \
gconf-service \
git \
gvfs-bin \
libasound2 \
libcap2 \
libgconf-2-4 \
libgcrypt20 \
libgtk2.0-0 \
libgtk-3-0 \
libnotify4 \
libnss3 \
libx11-xcb1 \
libxkbfile1 \
libxss1 \
libxtst6 \
libgl1-mesa-glx \
libgl1-mesa-dri \
python \
xdg-utils && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
curl -L https://github.com/atom/atom/releases/download/${ATOM_VERSION}/atom-amd64.deb > /tmp/atom.deb && \
dpkg -i /tmp/atom.deb && \
rm -f /tmp/atom.deb && \
useradd -d /home/atom -m atom
USER atom
CMD ["/usr/bin/atom","-f"]