mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 22:50:22 +03:00
32 lines
645 B
Docker
32 lines
645 B
Docker
# VERSION: 0.2
|
|
# DESCRIPTION: Image to build Pulsar
|
|
|
|
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/*
|
|
|
|
COPY . /pulsar
|
|
WORKDIR /pulsar
|
|
|
|
# Use python2 by default
|
|
RUN npm config set python /usr/bin/python2 -g
|
|
|
|
ENTRYPOINT ["/usr/bin/env", "sh", "-c"]
|
|
CMD ["bash"]
|