Open mwa28 opened 1 year ago
@stewartsmith can you please advise on what might be causing this issue ?
If using an older version of Docker, it may not have the full set of seccomp rules in order to not error out some syscalls that AL2023 relies upon. If it works when running Docker with --security-opt seccomp=unconfined
then this would be the case - and you'll need to get an update for the version of Docker you're running in order to continue to use seccomp with containers.
@stewartsmith this seems to still work well for me. It resembles what the old code was like (amazonlinux:2).
FROM amazonlinux:2023
FROM amazoncorretto:8
FROM maven:3.6-amazoncorretto-8
RUN yum install -y procps
Beyond this, dnf
replacing yum
is causing issues as well, this may stem from using a different linux version but for what it is worth, yum
is still more flexible.
What issues are you finding with dnf
over yum
? It does tend to cover all the use cases of yum
.
While running on the latest Dockerfile from 3204a42, the following occurs on the
public.ecr.aws/amazonlinux/amazonlinux:2023
: