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 caching, and add 24.04 base image #32

Merged
merged 9 commits into from
Oct 23, 2024
Merged

Update caching, and add 24.04 base image #32

merged 9 commits into from
Oct 23, 2024

Conversation

bloodearnest
Copy link
Member

@bloodearnest bloodearnest commented Jun 4, 2024

The main goal here is to add 24.04 image, but in the process, I ended up updating of the docker image syntax in the process, as there are better recommendations and syntax available now.

@bloodearnest bloodearnest force-pushed the updates branch 3 times, most recently from ef08459 to 7fb88c7 Compare June 5, 2024 08:16
@bloodearnest bloodearnest marked this pull request as draft July 22, 2024 09:56
@bloodearnest bloodearnest force-pushed the updates branch 4 times, most recently from da8b63b to 76206ef Compare October 22, 2024 15:27
@bloodearnest bloodearnest marked this pull request as ready for review October 22, 2024 15:48
https://docs.docker.com/reference/dockerfile/#example-cache-apt-packages

We automatically disable apt cleanup for all child images, on the
assumption they will be using cache mounts.
Annoyingly, the `docker inspect --format` syntax doesn't support
- characters in labels.

So rename `build-date` to `created`, and `vcs-ref` to gitref
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
There were no outstanding lint issues, but will help catch in future.
Uses the new HEREDOC syntax supported by the more recent dockerfile
version.
- rename from BASE_BUILD_DATE to BASE_CREATED to match label name
- noticed it wasn't a valid utc iso timestamp, so fixed that
- noticed we are using a weird hybrid of make and just, so fixed that
bloodearnest and others added 2 commits October 23, 2024 12:23
Co-authored-by: Tom Ward <[email protected]>
- rename from BASE_BUILD_DATE to BASE_CREATED to match label name
- noticed it wasn't a valid utc iso timestamp, so fixed that
- noticed we are using a weird hybrid of make and just, so fixed that
@bloodearnest bloodearnest merged commit 9d63f98 into main Oct 23, 2024
1 check passed
@bloodearnest bloodearnest deleted the updates branch October 23, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants