-
Notifications
You must be signed in to change notification settings - Fork 15
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
chore: change to ubuntu base image for docker image #866
Conversation
/e2e --tests sdk |
/e2e --tests sdk |
/e2e --tests sdk |
/e2e --tests sdk |
/e2e --tests sdk |
/e2e --tests sdk |
/e2e --tests sdk |
/e2e --tests sdk |
f5ca62c
to
8113934
Compare
/e2e --tests sdk |
/e2e --tests sdk |
/e2e --tests mnist |
/e2e --tests mnist, sdk |
End to end tests: ✔️ SUCCESS Awesome sauce! |
/e2e --tests mnist, sdk |
End to end tests: ✔️ SUCCESS Crushed it! |
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.
Thank you so much 🙏
docker/substra-backend/Dockerfile
Outdated
&& apt-get install --no-install-recommends -y software-properties-common \ | ||
&& apt-get --no-install-recommends -y install python3-pip gcc python3.11-dev python3-watchdog celery python-is-python3 python3.11-venv \ |
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.
we could merge these two lines
&& apt-get install --no-install-recommends -y software-properties-common \ | |
&& apt-get --no-install-recommends -y install python3-pip gcc python3.11-dev python3-watchdog celery python-is-python3 python3.11-venv \ | |
&& apt-get install --no-install-recommends -y software-properties-common \ | |
python3-pip gcc python3.11-dev python3-watchdog celery python-is-python3 python3.11-venv \ |
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
# libpq is a required dependency to build psycopg2 from source (support for arm64 platform) | ||
libpq-dev | ||
RUN pip3 install --upgrade --no-cache-dir pip==24.0 \ | ||
&& pip3 install --prefix /usr/local --no-cache-dir psycopg2==2.9.9 | ||
RUN pip install --no-cache-dir psycopg2==2.9.9 |
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.
Is there a reason why we don't do it on line 19 / 20?
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.
Yes, it's only meant to be installed for arm64, it is under FROM build AS arm64
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
Signed-off-by: ThibaultFy <[email protected]>
1f2732c
to
5b727f2
Compare
Description
closes FL-1530
Trivy scan
12 middle and 8 low
Checklist