chore: Make more /var dirs

This commit is contained in:
Gerald Pinder 2024-04-24 23:35:33 -04:00
parent 2bf7c99aaf
commit a7503d561e
2 changed files with 3 additions and 3 deletions

View file

@ -24,6 +24,4 @@ export OS_VERSION=$(grep -Po "(?<=VERSION_ID=)\d+" /usr/lib/os-release)
# Export functions for use in sub-shells or sourced scripts
export -f get_yaml_array
mkdir -p /var/roothome
mkdir -p /var/lib/alternatives
mkdir -p /var/roothome /var/opt /var/lib/alternatives /var/opt /var/usrlocal

View file

@ -17,6 +17,8 @@ ARG BASE_IMAGE="{{ recipe.base_image }}"
{% include "modules/modules.j2" %}
RUN rm -fr /tmp/* /var/* && ostree container commit
# Labels are added last since they cause cache misses with buildah
LABEL {{ blue_build_utils::constants::BUILD_ID_LABEL }}="{{ build_id }}"
LABEL org.opencontainers.image.title="{{ recipe.name }}"