Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax=docker/dockerfile:1

FROM ubuntu:jammy AS base

# Install runtime dependencies
Expand All @@ -14,15 +16,15 @@ RUN apt-get clean \

WORKDIR /clp

ADD ./clg ./
ADD ./clp ./
ADD ./clp-s ./
ADD ./glt ./
ADD ./make-dictionaries-readable ./
COPY --link ./clg ./
COPY --link ./clp ./
COPY --link ./clp-s ./
COPY --link ./glt ./
COPY --link ./make-dictionaries-readable ./

# Flatten the image
FROM scratch
COPY --from=base / /
COPY --link --from=base / /

WORKDIR /clp

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# syntax=docker/dockerfile:1

FROM dokken/centos-stream-9 AS base

WORKDIR /root

RUN mkdir -p ./tools/scripts/lib_install
ADD ./tools/scripts/lib_install ./tools/scripts/lib_install
COPY --link ./tools/scripts/lib_install ./tools/scripts/lib_install

# Set pipx environment vars so that the pipx scripts install into the global locations without
# passing the `--global` flag.
Expand All @@ -18,4 +20,4 @@ RUN dnf clean all \

# Flatten the image
FROM scratch
COPY --from=base / /
COPY --link --from=base / /
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# syntax=docker/dockerfile:1

FROM quay.io/pypa/manylinux_2_28_aarch64

WORKDIR /root

RUN mkdir -p ./tools/scripts/lib_install
COPY ./tools/scripts/lib_install ./tools/scripts/lib_install
COPY --link ./tools/scripts/lib_install ./tools/scripts/lib_install

RUN pipx uninstall cmake
RUN pipx uninstall uv
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# syntax=docker/dockerfile:1

FROM quay.io/pypa/manylinux_2_28_x86_64

WORKDIR /root

RUN mkdir -p ./tools/scripts/lib_install
COPY ./tools/scripts/lib_install ./tools/scripts/lib_install
COPY --link ./tools/scripts/lib_install ./tools/scripts/lib_install

RUN pipx uninstall cmake
RUN pipx uninstall uv
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# syntax=docker/dockerfile:1

FROM quay.io/pypa/musllinux_1_2_aarch64

WORKDIR /root

RUN mkdir -p ./tools/scripts/lib_install
COPY ./tools/scripts/lib_install ./tools/scripts/lib_install
COPY --link ./tools/scripts/lib_install ./tools/scripts/lib_install

RUN pipx uninstall cmake
RUN pipx uninstall uv
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# syntax=docker/dockerfile:1

FROM quay.io/pypa/musllinux_1_2_x86_64 AS base

WORKDIR /root

RUN mkdir -p ./tools/scripts/lib_install
COPY ./tools/scripts/lib_install ./tools/scripts/lib_install
COPY --link ./tools/scripts/lib_install ./tools/scripts/lib_install

RUN pipx uninstall cmake
RUN pipx uninstall uv
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# syntax=docker/dockerfile:1

FROM ubuntu:jammy AS base

WORKDIR /root

RUN mkdir -p ./tools/scripts/lib_install
ADD ./tools/scripts/lib_install ./tools/scripts/lib_install
COPY --link ./tools/scripts/lib_install ./tools/scripts/lib_install

# Set pipx environment vars so that the pipx scripts install into the global locations without
# passing the `--global` flag.
Expand All @@ -18,4 +20,4 @@ RUN apt-get clean \

# Flatten the image
FROM scratch
COPY --from=base / /
COPY --link --from=base / /
8 changes: 5 additions & 3 deletions tools/docker-images/clp-package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# syntax=docker/dockerfile:1

FROM ubuntu:jammy AS base

WORKDIR /root

COPY ./tools/docker-images/clp-package/setup-scripts ./setup-scripts
COPY --link ./tools/docker-images/clp-package/setup-scripts ./setup-scripts
RUN ./setup-scripts/install-prebuilt-packages.sh \
&& rm -rf ./setup-scripts/

Expand All @@ -17,8 +19,8 @@ ENV PYTHONPATH="${CLP_HOME}/lib/python3/site-packages"

USER 1000:1000

COPY ./build/clp-package /opt/clp
COPY --link ./build/clp-package /opt/clp

# Flatten the image
FROM scratch
COPY --from=base / /
COPY --link --from=base / /
Loading