1
0
Fork 0

Docker fix (#1039)

* Docker test

* Remove extra installs

* Don't run full test

* No need for testing dependencies
pull/1046/head
Jacky Lee 2023-06-25 10:38:58 -07:00 committed by GitHub
parent 6ff720103e
commit 5d16cc283f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -217,7 +217,6 @@ jobs:
testdocker:
name: Docker Test
runs-on: ubuntu-latest
if: ${{ false }}
steps:
- name: Checkout Code

View File

@ -1,4 +1,12 @@
FROM ubuntu:20.04
RUN apt-get update
RUN apt-get install -y python3-pip git
RUN pip3 install git+https://github.com/geohot/tinygrad.git
# Install python3.8, and pip3
RUN apt-get update && apt-get install -y --no-install-recommends \
python3.8 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
# Install python dependencies
COPY . ./tinygrad
WORKDIR tinygrad
RUN pip install -e .