We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428f88a commit c89b827Copy full SHA for c89b827
Dockerfile
@@ -1,5 +1,5 @@
1
# Build Smithy CLI using latest JDK
2
-FROM gradle:7-jdk17 AS build
+FROM public.ecr.aws/docker/library/gradle:7-jdk17 AS build
3
WORKDIR /build
4
COPY . .
5
@@ -16,7 +16,7 @@ RUN ./gradlew :smithy-validation-model:jar --stacktrace
16
RUN ./gradlew :smithy-cli:runtime --stacktrace
17
18
# Run Smithy CLI in AL2 container
19
-FROM amazonlinux:2
+FROM public.ecr.aws/amazonlinux/amazonlinux:2
20
21
WORKDIR /smithy
22
COPY --from=build /build/smithy-cli/build/image/smithy-cli-linux-x86_64 .
0 commit comments