FROM public.ecr.aws/amazonlinux/amazonlinux:latest # Install dependencies RUN yum update -y && \ yum install -y httpd # Install apache and write hello world message RUN echo 'Hello World!' > /var/www/html/index.html # Configure apache RUN echo 'mkdir -p /var/run/httpd' >> /root/...
ecr_PushImageCmd: languages: Kotlin: versions: - sdk_version: 1 github: kotlin/services/ecr sdkguide: excerpts: - description: snippet_tags: - ecr.kotlin.push.image.main Java: versions: - sdk_version: 2 @@ -31,6 +49,15 @@ ecr_PushImageCmd: ecr: {PushImageCmd} ecr_SetRepositoryPoli...
FROM public.ecr.aws/amazonlinux/amazonlinux:latest # Install dependencies RUN yum update -y && \ yum install -y httpd # Install apache and write hello world message RUN echo 'Hello World!' > /var/www/html/index.html # Configure apache RUN echo 'mkdir -p /var/run/httpd' >> /root/...
latest Untuk menghapus gambar contoh Anda dari repositori, jalankan perintah berikut: aws ecr batch-delete-image \ --repository-name hello-repository \ --image-ids imageTag=latest \ --region region Langkah 7: Menghapus repositori Jika Anda tidak lagi membutuhkan seluruh repositori gambar, Anda ...