Skip to content

Commit

Permalink
Update Dockerfile (#920)
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 1ded1d0 commit 4c368a6
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 @@ -93,6 +93,8 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
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.71 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.3.2")
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.47.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.3.2"
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.14"
Expand Down

0 comments on commit 4c368a6

Please sign in to comment.