fix: bind BIN_DIR to /usr/bin

This commit is contained in:
Jose Diaz-Gonzalez
2025-09-08 14:29:47 -04:00
committed by GitHub
parent 5efa641d55
commit 5631d1eeaf

View File

@@ -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 \