File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9090
9191{% if build_script_files -%}
9292# If scripts required during build are present, copy them
93- {% for src, dst in build_script_files.items() %}
93+ {% for src, dst in build_script_files|dictsort %}
9494COPY {{ src }} {{ dst }}
9595{% endfor -%}
9696{% endif -%}
127127# example installing APT packages.
128128{% if preassemble_script_files -%}
129129# If scripts required during build are present, copy them
130- {% for src, dst in preassemble_script_files.items() %}
130+ {% for src, dst in preassemble_script_files|dictsort %}
131131COPY src/{{ src }} ${REPO_DIR}/{{ dst }}
132132{% endfor -%}
133133{% endif -%}
151151# Container image Labels!
152152# Put these at the end, since we don't want to rebuild everything
153153# when these change! Did I mention I hate Dockerfile cache semantics?
154- {% for k, v in labels.items() %}
154+ {% for k, v in labels|dictsort %}
155155LABEL {{k}}="{{v}}"
156156{%- endfor %}
157157
You can’t perform that action at this time.
0 commit comments