Skip to content

Commit

Permalink
fix: krunner python libraries not working on CentOS 7.9 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho authored Feb 3, 2024
1 parent 89fe537 commit 0310033
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
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

0 comments on commit 0310033

Please sign in to comment.