Adding PHP apt-repository to Dockerfile

When i try to add ppa_ondrej/php repository to install php8.3
RUN add-apt-repository -y ppa:ondrej/php 

the workspace will stuck at creation
docker_image.main: Creating...
docker_image.main: Still creating... [10s elapsed]
docker_image.main: Still creating... [20s elapsed]

i´ve already waited about 20 minutes
Was this page helpful?