mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-08 14:43:57 -05:00
Docker fix (#1039)
* Docker test * Remove extra installs * Don't run full test * No need for testing dependencies
This commit is contained in:
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -217,7 +217,6 @@ jobs:
|
||||
testdocker:
|
||||
name: Docker Test
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ false }}
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
|
||||
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user