-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
🔍 TriageIssues that need assessment and prioritization.Issues that need assessment and prioritization.
Description
Operating System: Ubuntu 22.x
Steps to Reproduce:
- Commit changes to GitHub.
- Wait for the deployment to start or initiate a force deployment.
- After a few seconds, the system will "crash" due to a missing environment variable.
Oops something is not okay, are you okay? 😢
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 2.77kB done
#1 DONE 0.0s
#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1745885067
#2 DONE 0.5s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [stage-0 1/11] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1745885067@sha256:d45c89d80e13d7ad0fd555b5130f22a866d9dd10e861f589932303ef2314c7de
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 375.08kB 0.0s done
#5 DONE 0.1s
#6 [stage-0 3/11] COPY .nixpacks/nixpkgs-bc8f8d1be58e8c8383e683a06e1e1e57893fff87.nix .nixpacks/nixpkgs-bc8f8d1be58e8c8383e683a06e1e1e57893fff87.nix
#6 CACHED
#7 [stage-0 2/11] WORKDIR /app/
#7 CACHED
#8 [stage-0 4/11] RUN nix-env -if .nixpacks/nixpkgs-bc8f8d1be58e8c8383e683a06e1e1e57893fff87.nix && nix-collect-garbage -d
#8 CACHED
#9 [stage-0 5/11] RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends curl wget
#9 CACHED
#10 [stage-0 6/11] COPY . /app/.
#10 DONE 0.1s
#11 [stage-0 7/11] RUN --mount=type=cache,id=eogo8s0cg4okc0kg8sskoogk-/root/cache/uv,target=/root/.cache/uv python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install uv== && uv sync --no-dev --frozen
#11 3.993
#11 3.993 [notice] A new release of pip is available: 24.2 -> 25.3
#11 3.993 [notice] To update, run: pip install --upgrade pip
#11 3.994 ERROR: Invalid requirement: 'uv==': Expected end or semicolon (after name and no valid version specifier)
#11 3.994 uv==
#11 3.994 ^
#11 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install uv==$NIXPACKS_UV_VERSION && uv sync --no-dev --frozen" did not complete successfully: exit code: 1
------
> [stage-0 7/11] RUN --mount=type=cache,id=eogo8s0cg4okc0kg8sskoogk-/root/cache/uv,target=/root/.cache/uv python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install uv== && uv sync --no-dev --frozen:
3.993
3.993 [notice] A new release of pip is available: 24.2 -> 25.3
3.993 [notice] To update, run: pip install --upgrade pip
3.994 ERROR: Invalid requirement: 'uv==': Expected end or semicolon (after name and no valid version specifier)
3.994 uv==
3.994 ^
------
5 warnings found (use docker --debug to expand):
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "PASSWORD") (line 12)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SECRET_KEY") (line 12)
- UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "PASSWORD") (line 11)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "SECRET_KEY") (line 11)
Dockerfile:20
--------------------
18 | ENV NIXPACKS_PATH=/opt/venv/bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=eogo8s0cg4okc0kg8sskoogk-/root/cache/uv,target=/root/.cache/uv python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install uv==$NIXPACKS_UV_VERSION && uv sync --no-dev --frozen
21 |
22 | # build phase
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install uv==$NIXPACKS_UV_VERSION && uv sync --no-dev --frozen" did not complete successfully: exit code: 1
exit status 1
Deployment failed. Removing the new version of your application.
yaserahmady and lukasfast
Metadata
Metadata
Assignees
Labels
🔍 TriageIssues that need assessment and prioritization.Issues that need assessment and prioritization.