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

fix: krunner python libraries not working on CentOS 7.9 #5

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile-upstream:1-labs
FROM ubuntu:20.04
FROM quay.io/pypa/manylinux2014_x86_64

ARG PREFIX=/opt/backend.ai
ARG ARCH=x86_64
Expand All @@ -8,8 +8,7 @@ ENV PATH=${PREFIX}/bin:$PATH \
PYTHON_VERSION=3.11.1 \
LANG=C.UTF-8

RUN apt-get update \
&& apt-get install -y \
RUN yum install -y \
wget \
tar \
zstd \
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10
11
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
FROM python:3.11.1-bullseye
FROM quay.io/pypa/manylinux2014_x86_64

RUN apt-get update \
&& apt-get install -y \
build-essential \
ca-certificates
ENV PATH=$PATH:/opt/python/cp311-cp311/bin

COPY requirements.txt /root/

RUN set -ex \
&& cd /root \
&& pip wheel -w ./wheels -r requirements.txt
&& pip3 wheel -w ./wheels -r requirements.txt


# vim: ft=dockerfile