Created
May 1, 2018 02:07
-
-
Save springmeyer/32b9116f440a1befd58dca45574aa86d to your computer and use it in GitHub Desktop.
Dockerfile for running mapbox-gl-native node module
This file contains hidden or 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 ubuntu:xenial-20171006 | |
# docker build -t mbgl -f Dockerfile.mbgl . | |
# docker run -it mbgl bash | |
# install && clean up | |
RUN apt-get update -qq && \ | |
apt-get install -y curl && \ | |
curl https://nodejs.org/dist/v4.8.7/node-v4.8.7-linux-x64.tar.gz | tar zxC /usr/local --strip-components=1 | |
RUN apt-get install -y libgles2-mesa libegl1-mesa | |
RUN npm install @mapbox/[email protected] | |
RUN node -e "require('@mapbox/mapbox-gl-native')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment