content: FROM public.ecr.aws/amazonlinux/amazonlinux:2023 as enclave_app
  # https://gallery.ecr.aws/amazonlinux/amazonlinux
  
  ENV SHELL="/usr/bin/env bash"
  # ENV RUST_LOG="pipeline=debug"
  ENV RUST_LOG="debug"
  ENV RUST_BACKTRACE="full"
  
  WORKDIR /apps
  
  RUN dnf upgrade -y
  
  RUN dnf install -y kernel-libbpf systemd systemd-libs systemd-resolved initscripts
  RUN dnf install -y /usr/bin/systemctl
  # RUN dnf install -y /bin/systemctl
  # init=/sbin/init
  # init=/usr/sbin/init
  # init=/lib/systemd/systemd
  # init=/usr/lib/systemd/systemd
  
  RUN dnf install -y sudo time which hostname tar bsdtar cpio findutils pcre-tools pciutils procps-ng
  RUN dnf install -y iputils iproute dnsmasq bind bind-utils bind-dnssec-utils traceroute net-tools socat nc nmap-ncat
  # RUN dnf install -y kernel kernel-devel kernel-modules-extra kernel-modules-extra-common
  RUN dnf install -y kmod kmod-libs
  RUN dnf install -y nftables iptables iptables-nft iptables-libs iptables-utils iptables-legacy iptables-legacy-libs
  RUN dnf install -y lsof perf iperf iperf3
  RUN dnf install -y --allowerasing curl
  RUN dnf install -y jq wget openssh git rsync
  RUN dnf install -y lynx w3m
  RUN dnf install -y awscli
  
  # CMD whoami; uname -a; date; pwd;
  # CMD sleep infinity
  CMD tail -f /dev/null
  