Skip to content

Commit 9f51bdf

Browse files
committed
Update rust regularly
Closes #4
1 parent f55a9e1 commit 9f51bdf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [master]
66
workflow_dispatch:
77
branches: [master]
8+
schedule:
9+
- cron: "0 2 * * *"
810

911
jobs:
1012
build:

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ FROM ghcr.io/r-wasm/webr:main
1515
# Alternative workaround for libnode-dev conflicting with nodejs (see above)
1616
RUN apt-get update && \
1717
apt-get install -y equivs lsb-release
18-
19-
2018
# equivs-control libnode-dev && \
2119
# sed -i 's/Package:.*/Package: libnode-dev/' libnode-dev && \
2220
# sed -i 's/# Provides:.*/Provides: libv8-dev/' libnode-dev && \
@@ -26,6 +24,9 @@ RUN apt-get update && \
2624
# dpkg -i libnode-dev_99.0_all.deb && \
2725
# rm -Rf libnode*
2826

27+
# Update outdated rust from the parent container
28+
rustup update stable nightly
29+
2930
# Install some common runtime libs
3031
RUN CRANLIBS=$(curl https://r-universe.dev/stats/sysdeps/noble | jq --slurp -r '.[].packages | flatten[]' | grep -v "libnode") &&\
3132
apt-get install -y --no-install-recommends zstd xvfb $CRANLIBS && \

0 commit comments

Comments
 (0)