From efe4be50e2865cd8a5ef97c449df180a871b0ff6 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:02:35 -0600 Subject: [PATCH] add jq and python bin to dockerfile (#1137) --- packaging/rtx/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packaging/rtx/Dockerfile b/packaging/rtx/Dockerfile index a38db51d7..7fe3833cd 100644 --- a/packaging/rtx/Dockerfile +++ b/packaging/rtx/Dockerfile @@ -10,7 +10,12 @@ WORKDIR /usr/src/rtx COPY . /usr/src/rtx/ -RUN cargo build --release +RUN cargo build --release \ + && ln -s /usr/bin/{python3,python} \ + && python -V \ + && apt-get update && apt-get install -y \ + jq \ + && rm -rf /var/lib/apt/lists/* && apt-get clean FROM rust as runtime