forked from atom/atom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into remove-windows-build-tools
- Loading branch information
Showing
258 changed files
with
11,738 additions
and
5,800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,31 @@ | ||
# VERSION: 0.1 | ||
# DESCRIPTION: Image to build Atom and create a .rpm file | ||
# VERSION: 0.2 | ||
# DESCRIPTION: Image to build Atom | ||
|
||
# Base docker image | ||
FROM nodesource/fedora21:4.2.6 | ||
FROM ubuntu:20.04 | ||
|
||
# Install dependencies | ||
RUN yum install -y \ | ||
make \ | ||
gcc \ | ||
gcc-c++ \ | ||
glibc-devel \ | ||
git-core \ | ||
libsecret-devel \ | ||
rpmdevtools | ||
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 | ||
|
||
ADD . /atom | ||
WORKDIR /atom | ||
# Use python2 by default | ||
RUN npm config set python /usr/bin/python2 -g | ||
|
||
ENTRYPOINT ["/usr/bin/env", "sh", "-c"] | ||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.