Skip to content

Commit

Permalink
test docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
wkozyra95 committed Sep 11, 2024
1 parent 65c443c commit 17f9368
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
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

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

0 comments on commit 17f9368

Please sign in to comment.