Skip to content

Commit 6a20151

Browse files
committed
Update Dockerfiles
This silences a couple warnings and also updates our Rust version (which appears to change nothing important).
1 parent adb2e6f commit 6a20151

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.88-slim as builder
1+
FROM rust:1.90-slim AS builder
22
WORKDIR /whatwg/html-build
33
COPY Cargo.lock Cargo.toml ./
44
COPY src ./src/
@@ -13,11 +13,11 @@ COPY --from=builder /usr/local/cargo/bin/html-build /bin/html-build
1313

1414
COPY --from=ghcr.io/whatwg/wattsi:latest /whatwg/wattsi/bin/wattsi /bin/wattsi
1515

16-
ENV PIPX_HOME /opt/pipx
17-
ENV PIPX_BIN_DIR /usr/bin
16+
ENV PIPX_HOME=/opt/pipx
17+
ENV PIPX_BIN_DIR=/usr/bin
1818
RUN pipx install bs-highlighter
1919

2020
COPY . /whatwg/html-build/
2121

22-
ENV SKIP_BUILD_UPDATE_CHECK true
22+
ENV SKIP_BUILD_UPDATE_CHECK=true
2323
ENTRYPOINT ["bash", "/whatwg/html-build/build.sh"]

ci-build/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This Dockerfile is just used to run on Travis CI in an environment that can easily and repeatedly
22
# install our build dependencies.
3-
FROM rust:1.88-slim as builder
3+
FROM rust:1.90-slim AS builder
44
WORKDIR /whatwg/html-build
55
COPY Cargo.lock Cargo.toml ./
66
COPY src ./src/
@@ -27,8 +27,8 @@ COPY --from=builder /usr/local/cargo/bin/html-build /bin/html-build
2727

2828
COPY --from=ghcr.io/whatwg/wattsi:latest /whatwg/wattsi/bin/wattsi /bin/wattsi
2929

30-
ENV PIPX_HOME /opt/pipx
31-
ENV PIPX_BIN_DIR /usr/bin
30+
ENV PIPX_HOME=/opt/pipx
31+
ENV PIPX_BIN_DIR=/usr/bin
3232
RUN pipx install bs-highlighter
3333

3434
# The DockerHub container for the validator only contains the server version, so we get the .jar

0 commit comments

Comments
 (0)