forked from reisxd/revanced-builder
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Dockerfile for building inside dockerized environment
- Loading branch information
Peter
committed
Jul 14, 2022
1 parent
0c81032
commit 3fb1621
Showing
1 changed file
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:18-buster | ||
|
||
RUN mkdir /app | ||
RUN apt-get --yes update && apt-get --yes install wget | ||
RUN apt-get --yes install java-common libasound2 libxi6 libxtst6 | ||
RUN wget -O /app/zulu.deb https://cdn.azul.com/zulu/bin/zulu17.34.19-ca-jdk17.0.3-linux_amd64.deb | ||
RUN yes | dpkg -i /app/zulu.deb | ||
RUN apt-get -f install | ||
|
||
WORKDIR /app | ||
VOLUME app | ||
|
||
CMD npm install && node . --patch |