Skip to content

Commit a2d5a5a

Browse files
authored
build: move arm64 image to wolfi-base (#433)
### Summary Updates the `arm64` image to use `wolfi-base` instead of `rockylinux` and consolidates the `amd64` and `arm64` images into the same Dockerfile. As of this PR, the `amd64` and `arm64` images for the API are at parity. ### Testing Successful docker build on the feature branch can be seen in [this job](https://github.com/Unstructured-IO/unstructured-api/actions/runs/9875409234/job/27272072089).
1 parent 35d5b37 commit a2d5a5a

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
# Clear some space (https://github.com/actions/runner-images/issues/2840)
7070
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost
7171
72-
DOCKER_BUILDKIT=1 docker buildx build --load -f Dockerfile-${{ matrix.arch }} \
72+
DOCKER_BUILDKIT=1 docker buildx build --load -f Dockerfile \
7373
--platform=$DOCKER_PLATFORM \
7474
--build-arg PIP_VERSION=$PIP_VERSION \
7575
--build-arg BUILDKIT_INLINE_CACHE=1 \

Dockerfile-amd64 renamed to Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:experimental
2-
FROM quay.io/unstructured-io/base-images:wolfi-base@sha256:7c3af225a39f730f4feee705df6cd8d1570739dc130456cf589ac53347da0f1d as base
2+
FROM quay.io/unstructured-io/base-images:wolfi-base-e48da6b@sha256:8ad3479e5dc87a86e4794350cca6385c01c6d110902c5b292d1a62e231be711b as base
33

44
# NOTE(crag): NB_USER ARG for mybinder.org compat:
55
# https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html
File renamed without changes.

scripts/docker-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DOCKER_PLATFORM="${DOCKER_PLATFORM:-}"
1010

1111

1212
DOCKER_BUILD_CMD=(
13-
docker buildx build --load -f Dockerfile-amd64
13+
docker buildx build --load -f Dockerfile
1414
--build-arg PIP_VERSION="$PIP_VERSION"
1515
--build-arg BUILDKIT_INLINE_CACHE=1
1616
--build-arg PIPELINE_PACKAGE="$PIPELINE_PACKAGE"

0 commit comments

Comments
 (0)