Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes ppc64le setup for Knative #36

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Fixes ppc64le setup for Knative #36

merged 1 commit into from
Dec 5, 2023

Conversation

codefromthecrypt
Copy link
Member

We missed one script in
#19 which possibly was due to bad wording at its call site. This is a script that downloads the minirootfs for the given arch. It isn't actually minirootfs.

This also removes travis as it setup, but wasn't running and there was confusion about it. See openzipkin/zipkin#3608

We missed one script in
#19 which possibly was
due to bad wording at its call site. This is a script that downloads the
minirootfs for the given arch. It isn't actually minirootfs.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Copy link
Member Author

@codefromthecrypt codefromthecrypt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

notes

@@ -39,6 +41,9 @@ case ${arch} in
s390x* )
arch=s390x
;;
ppc64le* )
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the spot missed


WORKDIR /code
# Conditions aren't supported in Dockerfile instructions, so we copy source even if it isn't used.
COPY --from=code /code/ .

# Alpine's minirootfs is mirrored and only 5MB. Build on demand instead of consuming docker.io pulls
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps this confused folks to think the file was a binary not a script.

@codefromthecrypt codefromthecrypt merged commit 31228d5 into master Dec 5, 2023
1 check passed
@codefromthecrypt codefromthecrypt deleted the ppc64le branch December 5, 2023 00:13
@codefromthecrypt
Copy link
Member Author

re-pushed tag and verified

$ docker buildx imagetools inspect  ghcr.io/openzipkin/alpine:3.18.5
Name:      ghcr.io/openzipkin/alpine:3.18.5
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest:    sha256:96fef92ecb335d060f40bea3abfd2073abc2b308bd1a55fbe656c6c32844d310
           
Manifests: 
  Name:      ghcr.io/openzipkin/alpine:3.18.5@sha256:7c43f5840cd0359826b9c822e97ee2bee3fe4767b91214d5bb401d7f74568187
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/amd64
             
  Name:      ghcr.io/openzipkin/alpine:3.18.5@sha256:3e23a654d870435e434bbb9ac342ffe8047ef3ae385ab55fccb8f058272e95dd
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm64
             
  Name:      ghcr.io/openzipkin/alpine:3.18.5@sha256:72395cb2ebab63005c7599beab48615881b5f9f6eed73dc19091a223b2bdb21e
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/ppc64le
             
  Name:      ghcr.io/openzipkin/alpine:3.18.5@sha256:483e17f38864615b079314347f645f3a5bcefe88fe44c228b4e976711efdfce0
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/s390x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant