This commit is contained in:
parent
fc2a5832d7
commit
95af88e582
15
.forgejo/workflows/render-servo.yml
Normal file
15
.forgejo/workflows/render-servo.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: Build Servo Image
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3.5.3
|
||||||
|
with:
|
||||||
|
ref: trunk
|
||||||
|
- name: Build Image
|
||||||
|
run: docker buildx build . -f dockerfiles/Dockerfile.servo -t git.gmem.ca/arch/servo -t git.gmem.ca/arch/servo:$(date -I)
|
15
dockerfiles/Dockerfile.servo
Normal file
15
dockerfiles/Dockerfile.servo
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
|
RUN apt update && apt upgrade && \
|
||||||
|
apt install -y curl libunwind8 libfontconfig1 libx11-6 libwayland-client0 \
|
||||||
|
mesa-utils libgl1-mesa-glx xkb-data libxkbcommon-x11-0 && \
|
||||||
|
apt-get clean autoclean && \
|
||||||
|
apt-get autoremove --yes && \
|
||||||
|
rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||||
|
|
||||||
|
RUN curl -LO https://download.servo.org/nightly/linux/servo-latest.tar.gz && \
|
||||||
|
tar -xvf servo-latest.tar.gz && \
|
||||||
|
mv servo /opt && ln -s /opt/servo/servo /usr/local/bin && \
|
||||||
|
rm servo-latest.tar.gz
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/local/bin/servo"]
|
Loading…
Reference in a new issue