Skip to content

Commit

Permalink
Update Dockerfile (#922)
Browse files Browse the repository at this point in the history
*Issue #, if available:*

*Description of changes:*

Update Dockerfile to use public ECR image


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
  • Loading branch information
pxaws authored Oct 18, 2024
1 parent d1061a9 commit 8a433d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: image=moby/buildkit:v0.15.1
if: ${{ matrix.os == 'ubuntu-latest' }}

- name: Build image for testing
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# permissions and limitations under the License.

# Stage 1: Build the cp-utility binary
FROM rust:1.73 as builder
FROM public.ecr.aws/docker/library/rust:1.75 as builder

WORKDIR /usr/src/cp-utility
COPY ./tools/cp-utility .
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ repositories {
}

dependencies {
implementation("com.google.cloud.tools:jib-gradle-plugin:3.4.0")
implementation("com.google.cloud.tools:jib-gradle-plugin:3.4.3")
}
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pluginManagement {
id("com.github.ben-manes.versions") version "0.49.0"
id("com.github.jk1.dependency-license-report") version "2.5"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("com.google.cloud.tools.jib") version "3.4.0"
id("com.google.cloud.tools.jib") version "3.4.3"
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
id("nebula.release") version "17.2.2"
id("org.springframework.boot") version "2.7.15"
Expand Down

0 comments on commit 8a433d9

Please sign in to comment.