Skip to content

Commit

Permalink
Fix the Dockerfile-monitor and the workflow to use ubuntu-24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 23, 2024
1 parent e316dad commit e02a5bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
docker:
name: Docker

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

env:
USER: sdss
Expand Down
6 changes: 3 additions & 3 deletions containers/Dockerfile-monitor
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ghcr.io/astral-sh/uv:0.5.11-python3.13-bookworm-slim

MAINTAINER Jose Sanchez-Gallego, [email protected]
LABEL org.opencontainers.image.authors "Jose Sanchez-Gallego, [email protected]"

Check warning on line 3 in containers/Dockerfile-monitor

View workflow job for this annotation

GitHub Actions / Docker

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
LABEL org.opencontainers.image.source https://github.com/sdss/lvmbeat

Check warning on line 4 in containers/Dockerfile-monitor

View workflow job for this annotation

GitHub Actions / Docker

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

WORKDIR /app

ENV UV_COMPILE_BYTECODE=1
ENV ENV UV_LINK_MODE=copy
ENV UV_COMPILE_BYTECODE 1

Check warning on line 8 in containers/Dockerfile-monitor

View workflow job for this annotation

GitHub Actions / Docker

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV ENV UV_LINK_MODE copy

Check warning on line 9 in containers/Dockerfile-monitor

View workflow job for this annotation

GitHub Actions / Docker

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# Copy the project into the image
ADD . /app
Expand Down

0 comments on commit e02a5bb

Please sign in to comment.