7 lines
558 B
Docker
7 lines
558 B
Docker
FROM docker.1ms.run/library/debian:bookworm-slim
|
|
RUN sed -i 's|deb.debian.org|mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list.d/debian.sources 2>/dev/null; sed -i 's|security.debian.org|mirrors.tuna.tsinghua.edu.cn/debian-security|g' /etc/apt/sources.list.d/debian.sources 2>/dev/null; true
|
|
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends python3 python3-venv ca-certificates 2>&1 | tail -n 2
|
|
COPY workshop-baker/target/x86_64-unknown-linux-musl/debug/workshop-baker /baker
|
|
RUN chmod +x /baker
|
|
ENTRYPOINT ["/bin/sh", "-c"]
|