Skip to content

Commit

Permalink
Merge f6d5801 into db82992
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFish232 committed Jan 5, 2024
2 parents db82992 + f6d5801 commit 46a2a6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orchestrator/orchestrator/docker/templates/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ FROM {{ parent_name|default("alpine", boolean=True) }}

MAINTAINER {{ maintainer }}

RUN apt-get --allow-releaseinfo-change update -y

{% if parent_setup_command -%}
{# We run this separately so that Docker can cache the layer. It effectively becomes another image that the site's image is inheriting from. #}
RUN {{ parent_setup_command }}
{% endif %}
{% if install_command -%}
RUN apt-get --allow-releaseinfo-change update -y
RUN {{ install_command }}
{% endif %}

0 comments on commit 46a2a6a

Please sign in to comment.