Created
January 23, 2017 10:05
-
-
Save y13i/5ff96dba897d0a59dba05dcb6d3a8b24 to your computer and use it in GitHub Desktop.
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
FROM node:wheezy | |
RUN apt-get -y update && \ | |
apt-get -y install git build-essential && \ | |
mkdir -p /app && \ | |
cd /app && \ | |
git clone https://github.com/sourcelair/xterm.js.git && \ | |
cd xterm.js && \ | |
npm install | |
WORKDIR /app/xterm.js | |
CMD ["npm", "start"] |
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
# did not work | |
FROM node:alpine | |
RUN apk --no-cache add git make gcc g++ python linux-headers paxctl gnupg bash && \ | |
mkdir -p /app && \ | |
cd /app && \ | |
git clone https://github.com/sourcelair/xterm.js.git && \ | |
npm install --global node-gyp && \ | |
cd xterm.js && \ | |
npm install | |
WORKDIR /app/xterm.js | |
CMD ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment