-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add docker file and dev guide
Fixes #293
- Loading branch information
1 parent
d34b1f1
commit 2d3b59c
Showing
4 changed files
with
62 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM ubuntu:20.10 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
git \ | ||
curl && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
apt-get install -y nodejs | ||
|
||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg \ | ||
| apt-key add && \ | ||
echo "deb https://dl.yarnpkg.com/debian/ stable main" \ | ||
| tee /etc/apt/sources.list.d/yarn.list && \ | ||
apt update && \ | ||
apt install yarn | ||
|
||
COPY . /source/original-source/mapillary-js | ||
|
||
WORKDIR /source/mapillary-js |
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