File: Dockerfile

package info (click to toggle)
python-msgspec 0.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,416 kB
  • sloc: javascript: 23,944; ansic: 20,940; python: 19,752; makefile: 26; sh: 23
file content (26 lines) | stat: -rw-r--r-- 650 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM ghcr.io/astral-sh/uv:latest AS uv

FROM buildpack-deps:24.04-curl AS bin
COPY --chmod=755 --from=uv /uv /usr/local/bin/uv
RUN uv tool install rust-just

FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04

RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    && apt-get -y install --no-install-recommends \
        gdb \
        valgrind \
        libasan6 \
    && apt-get autoremove -y \
    && apt-get clean -y \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /workspaces/msgspec

COPY --chmod=755 --from=bin \
    /root/.local/bin/just \
    /usr/local/bin/
COPY --chmod=755 --from=uv \
    /uv \
    /uvx \
    /usr/local/bin/