Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rust version in docker container #764

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: docker
on:
workflow_dispatch: {}
schedule:
- cron: '0 0 * * 0' # once a week
push:
branches: [master]
paths:
Expand Down
4 changes: 2 additions & 2 deletions build_tools/docker/full.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM ubuntu:noble-20240423 as builder
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

ARG USERNAME=compositor
ARG RUST_VERSION=1.74
ARG RUST_VERSION=1.81

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -25,7 +25,7 @@ WORKDIR /root/project
RUN source ~/.cargo/env && cargo build --release

# Runtime image
FROM ubuntu:mantic-20231011
FROM ubuntu:noble-20240423
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we must have missed that when updating to 24.04


SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down
4 changes: 2 additions & 2 deletions build_tools/docker/slim.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM ubuntu:noble-20240423 as builder
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

ARG USERNAME=compositor
ARG RUST_VERSION=1.74
ARG RUST_VERSION=1.81

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -24,7 +24,7 @@ WORKDIR /root/project
RUN source ~/.cargo/env && cargo build --release --no-default-features

# Runtime image
FROM ubuntu:mantic-20231011
FROM ubuntu:noble-20240423

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

Expand Down