forked from jamesnetherton/docker-atom-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
36 lines (32 loc) · 791 Bytes
/
Copy pathDockerfile
File metadata and controls
36 lines (32 loc) · 791 Bytes
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
FROM ubuntu:latest
ENV ATOM_VERSION v1.25.0
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 \
libgtk2.0-0 \
libnotify4 \
libnss3 \
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"]