-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
23 lines (21 loc) · 1.37 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:16.04
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
COPY snap /tmp/
RUN apt update
RUN apt install -y --no-install-recommends software-properties-common curl apt-transport-https && \
apt clean
RUN add-apt-repository ppa:alexlarsson/flatpak && \
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
add-apt-repository "deb https://deb.nodesource.com/node_6.x xenial main" && \
curl -s https://bintray.com/user/downloadSubjectPublicKey?username=bintray | apt-key add - && \
add-apt-repository "deb https://dl.bintray.com/electronuserland/rpm-xenial xenial main" && \
apt update && \
apt install -y --no-install-recommends \
fakeroot dpkg flatpak-builder zip rpm snapcraft nodejs git python make gcc g++ && \
apt clean && \
flatpak install --user --no-deps --assumeyes --arch x86_64 --from https://raw.githubusercontent.com/endlessm/flatpak-bundler/master/refs/freedesktop-sdk-1.4.flatpakref && \
flatpak install --user --no-deps --assumeyes --arch x86_64 --from https://raw.githubusercontent.com/endlessm/flatpak-bundler/master/refs/freedesktop-runtime-1.4.flatpakref && \
flatpak install --user --no-deps --assumeyes --arch x86_64 --from https://s3-us-west-2.amazonaws.com/electron-flatpak.endlessm.com/electron-base-app-master.flatpakref && \
cd /tmp && \
snapcraft pull desktop-gtk3 electron-deps && \
rm -r snap