mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
update Dockerfile for zigdom
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -7,12 +7,12 @@ ARG ZIG_V8=v0.1.37
|
|||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
|
||||||
RUN apt-get update -yq && \
|
RUN apt-get update -yq && \
|
||||||
apt-get install -yq xz-utils \
|
apt-get install -yq xz-utils ca-certificates \
|
||||||
python3 ca-certificates git \
|
clang make curl git
|
||||||
pkg-config libglib2.0-dev \
|
|
||||||
gperf libexpat1-dev \
|
# Get Rust
|
||||||
cmake clang \
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal -y
|
||||||
curl git
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||||
|
|
||||||
# install minisig
|
# install minisig
|
||||||
RUN curl --fail -L -O https://github.com/jedisct1/minisign/releases/download/${MINISIG}/minisign-${MINISIG}-linux.tar.gz && \
|
RUN curl --fail -L -O https://github.com/jedisct1/minisign/releases/download/${MINISIG}/minisign-${MINISIG}-linux.tar.gz && \
|
||||||
@@ -49,7 +49,7 @@ RUN case $TARGETPLATFORM in \
|
|||||||
mv libc_v8.a v8/libc_v8.a
|
mv libc_v8.a v8/libc_v8.a
|
||||||
|
|
||||||
# build release
|
# build release
|
||||||
RUN zig build -Doptimize=ReleaseSafe -Dprebuilt_v8_path=v8/libc_v8.a -Dgit_commit=$$(git rev-parse --short HEAD)
|
RUN zig build -Doptimize=ReleaseFast -Dprebuilt_v8_path=v8/libc_v8.a -Dgit_commit=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
FROM debian:stable-slim
|
FROM debian:stable-slim
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user