chore: Make more /var dirs
This commit is contained in:
parent
2bf7c99aaf
commit
a7503d561e
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue