forked from atom/atom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 682 Bytes
/
Dockerfile
File metadata and controls
31 lines (26 loc) · 682 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
# VERSION: 0.2
# DESCRIPTION: Image to build Atom
FROM ubuntu:20.04
# Install dependencies
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" \
apt-get install -y \
build-essential \
git \
libsecret-1-dev \
fakeroot \
rpm \
libx11-dev \
libxkbfile-dev \
libgdk-pixbuf2.0-dev \
libgtk-3-dev \
libxss-dev \
libasound2-dev \
npm && \
rm -rf /var/lib/apt/lists/*
# Update npm and dependencies
RUN npm install -g npm --loglevel error
# Use python2 by default
RUN npm config set python /usr/bin/python2 -g
ENTRYPOINT ["/usr/bin/env", "sh", "-c"]
CMD ["bash"]