зеркало из https://github.com/electron/electron.git
Extend libcc Dockerfile for Electron Linux build
This commit is contained in:
Родитель
29dc06c89d
Коммит
f79a90161c
|
@ -0,0 +1 @@
|
||||||
|
*
|
|
@ -0,0 +1,8 @@
|
||||||
|
FROM libchromiumcontent-linux:latest
|
||||||
|
|
||||||
|
# Install node.js
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
||||||
|
RUN apt-get update && apt-get install -y --force-yes nodejs
|
||||||
|
|
||||||
|
# Install wget used by crash reporter
|
||||||
|
RUN apt-get install -y --force-yes wget
|
|
@ -26,6 +26,11 @@ docker build \
|
||||||
--tag libchromiumcontent-linux \
|
--tag libchromiumcontent-linux \
|
||||||
./vendor/libchromiumcontent
|
./vendor/libchromiumcontent
|
||||||
|
|
||||||
|
docker build \
|
||||||
|
--force-rm \
|
||||||
|
--tag electron-linux \
|
||||||
|
.
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
--env TARGET_ARCH="$TARGET_ARCH" \
|
--env TARGET_ARCH="$TARGET_ARCH" \
|
||||||
|
@ -41,4 +46,4 @@ docker run \
|
||||||
--volume /dev/shm:/dev/shm \
|
--volume /dev/shm:/dev/shm \
|
||||||
--workdir /workspace/electron \
|
--workdir /workspace/electron \
|
||||||
--privileged \
|
--privileged \
|
||||||
libchromiumcontent-linux script/cibuild
|
electron-linux script/cibuild
|
||||||
|
|
Загрузка…
Ссылка в новой задаче