From 5efa641d55e735b9dcd8a3794874c32dcb87bd38 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 8 Sep 2025 04:25:33 -0400 Subject: [PATCH 1/2] fix: ensure that the nixpacks bin is installed in /usr/bin/nixpacks in Docker image --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ea84cf5d8..b12fe59ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,8 @@ RUN mkdir -p /etc/apt/keyrings \ && apt-get -y --no-install-recommends install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin pack-cli \ && curl -o /tmp/nixpacks.bash -sSL https://nixpacks.com/install.sh \ && chmod +x /tmp/nixpacks.bash \ - && /tmp/nixpacks.bash \ + && NIXPACKS_BIN_DIR=/usr/bin /tmp/nixpacks.bash \ + && test -x /usr/bin/nixpacks \ && rm -rf /tmp/nixpacks.bash \ && echo "dokku dokku/hostname string $DOKKU_HOSTNAME" | debconf-set-selections \ && echo "dokku dokku/skip_key_file boolean $DOKKU_SKIP_KEY_FILE" | debconf-set-selections \ From 5631d1eeaf5f9006237a2bb36933a66d50d2bb8b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 8 Sep 2025 14:29:47 -0400 Subject: [PATCH 2/2] fix: bind BIN_DIR to /usr/bin --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b12fe59ad..f598c5230 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN mkdir -p /etc/apt/keyrings \ && apt-get -y --no-install-recommends install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin pack-cli \ && curl -o /tmp/nixpacks.bash -sSL https://nixpacks.com/install.sh \ && chmod +x /tmp/nixpacks.bash \ - && NIXPACKS_BIN_DIR=/usr/bin /tmp/nixpacks.bash \ + && NIXPACKS_BIN_DIR=/usr/bin BIN_DIR=/usr/bin /tmp/nixpacks.bash \ && test -x /usr/bin/nixpacks \ && rm -rf /tmp/nixpacks.bash \ && echo "dokku dokku/hostname string $DOKKU_HOSTNAME" | debconf-set-selections \