Skip to content

Commit

Permalink
Use bookworm macsec container for 2205.
Browse files Browse the repository at this point in the history
  • Loading branch information
wumiaont committed Aug 29, 2024
1 parent 2e7e55f commit d4d2567
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dockers/docker-macsec/Dockerfile.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
{% set use_bookworm_macsec_container = true %}

{% if use_bookworm_macsec_container -%}
FROM publicmirror.azurecr.io/docker-macsec:202405
RUN mkdir /etc/fips && echo 1 > /etc/fips/fips_enable
COPY ["cli", "/cli/"]
ENTRYPOINT ["/usr/local/bin/supervisord"]
{% else %}
{% from "dockers/dockerfile-macros.j2" import install_debian_packages, install_python_wheels, copy_files, cleanup_apt_and_python_cache %}
FROM docker-config-engine-bullseye-{{DOCKER_USERNAME}}:{{DOCKER_USERTAG}}

Expand Down Expand Up @@ -27,3 +35,5 @@ COPY ["etc/wpa_supplicant.conf", "/etc/wpa_supplicant.conf"]
COPY ["cli", "/cli/"]

ENTRYPOINT ["/usr/local/bin/supervisord"]

{%- endif %}

0 comments on commit d4d2567

Please sign in to comment.