Docker fix (#1039)
* Docker test * Remove extra installs * Don't run full test * No need for testing dependenciespull/1046/head
parent
6ff720103e
commit
5d16cc283f
|
@ -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…
Reference in New Issue