-
Notifications
You must be signed in to change notification settings - Fork 0
chore: migrate base images to Chainguard #1
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| FROM openjdk:8u171-jre-alpine3.7 | ||
| FROM --platform=linux/amd64 cgr.dev/spotdraft.com/jdk-fips:8 | ||
|
|
||
| ARG APP_VERSION=UNKOWN_VERSION | ||
|
|
||
| COPY /target/seldon-apife-${APP_VERSION}.jar app.jar | ||
| COPY /target/generated-resources /licenses/ | ||
|
|
||
| ENTRYPOINT [ "sh", "-c", "java -Djava.security.egd=file:/dev/./urandom $JAVA_OPTS -jar app.jar $SPRING_OPTS" ] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| FROM openjdk:8u171-jre-alpine3.7 | ||
| FROM --platform=linux/amd64 cgr.dev/spotdraft.com/jdk-fips:8 | ||
|
|
||
| ARG APP_VERSION=UNKOWN_VERSION | ||
|
|
||
| COPY /target/seldon-cluster-manager-${APP_VERSION}.jar app.jar | ||
| COPY /target/generated-resources /licenses/ | ||
|
|
||
| ENTRYPOINT [ "sh", "-c", "java -Djava.security.egd=file:/dev/./urandom $JAVA_OPTS -jar app.jar $SPRING_OPTS" ] | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM openjdk:8u141-jdk | ||
| FROM --platform=linux/amd64 cgr.dev/spotdraft.com/jdk-fips:8-dev | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ARM developer builds fail without emulation
Want Baz to fix this for you? Activate Fixer Prompt for AI Agents |
||
|
|
||
| # install docker | ||
| RUN \ | ||
|
Comment on lines
3
to
4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Core builder image cannot buildThe Want Baz to fix this for you? Activate Fixer Prompt for AI Agents |
||
|
|
@@ -37,4 +37,3 @@ WORKDIR /work | |
|
|
||
| # Define default command. | ||
| CMD ["bash"] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM python:2.7.14-jessie | ||
| FROM --platform=linux/amd64 cgr.dev/spotdraft.com/python-fips:2.7.14-dev | ||
|
|
||
| COPY _wrappers /wrappers | ||
|
|
||
|
Comment on lines
+1
to
4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Python wrapper image cannot build
Want Baz to fix this for you? Activate Fixer Prompt for AI Agents |
||
|
|
@@ -33,4 +33,4 @@ RUN pip install numpy requests redis flask | |
| WORKDIR /wrappers/python | ||
|
|
||
| ENTRYPOINT ["python","wrap_model.py"] | ||
| CMD [] | ||
| CMD [] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARM Kubernetes nodes cannot run services
The API frontend, cluster manager, and engine pods can still be scheduled on ARM64 nodes while using the fixed
linux/amd64image, so mixed-architecture clusters fail to start them — should we add akubernetes.io/arch=amd64scheduling constraint or publish a multi-architecture image?Want Baz to fix this for you? Activate Fixer
Prompt for AI Agents