mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
Docker fix (#1039)
* Docker test * Remove extra installs * Don't run full test * No need for testing dependencies
This commit is contained in:
parent
6ff720103e
commit
5d16cc283f
2 changed files with 11 additions and 4 deletions
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 .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue