Skip to content

Commit 5d16cc2

Browse files
authored
Docker fix (tinygrad#1039)
* Docker test * Remove extra installs * Don't run full test * No need for testing dependencies
1 parent 6ff7201 commit 5d16cc2

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ jobs:
217217
testdocker:
218218
name: Docker Test
219219
runs-on: ubuntu-latest
220-
if: ${{ false }}
221220

222221
steps:
223222
- name: Checkout Code

test/Dockerfile

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
FROM ubuntu:20.04
2-
RUN apt-get update
3-
RUN apt-get install -y python3-pip git
4-
RUN pip3 install git+https://github.com/geohot/tinygrad.git
2+
3+
# Install python3.8, and pip3
4+
RUN apt-get update && apt-get install -y --no-install-recommends \
5+
python3.8 \
6+
python3-pip \
7+
&& rm -rf /var/lib/apt/lists/*
8+
9+
# Install python dependencies
10+
COPY . ./tinygrad
11+
WORKDIR tinygrad
12+
RUN pip install -e .

0 commit comments

Comments
 (0)