mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
* just make it green * fix resetter * fix perms * better caching * just copy * simplify more * fix that up * nope
16 lines
445 B
Docker
16 lines
445 B
Docker
FROM ubuntu:24.04
|
|
|
|
ENV WORKDIR=/tmp/panda/
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PATH="$WORKDIR/.venv/bin:$PATH"
|
|
|
|
WORKDIR $WORKDIR
|
|
|
|
# deps install
|
|
COPY pyproject.toml __init__.py setup.sh $WORKDIR
|
|
RUN mkdir -p $WORKDIR/python/ && touch $WORKDIR/__init__.py
|
|
RUN apt-get update && apt-get install -y --no-install-recommends sudo && DEBIAN_FRONTEND=noninteractive $WORKDIR/setup.sh
|
|
|
|
RUN git config --global --add safe.directory $WORKDIR/panda
|
|
COPY . $WORKDIR
|