Failed to build an image. If this error persists, please contact Railway support.
jacobinca19
PROOP

2 years ago

Anyone who can help me to solve this problem

12 Replies

jacobinca19
PROOP

2 years ago

2ecaeaba-3304-47d9-8e90-b72540ea0fd6


2 years ago

hey, have you looked into your build logs?


jacobinca19
PROOP

2 years ago

The build logs show "Docker build failed", but the docker file did`t modified recently


jacobinca19
PROOP

2 years ago

and the last deploy is nothing wrong


2 years ago

im sure there is more than that in your build logs


jacobinca19
PROOP

2 years ago

1275688422836666400


2 years ago

there is more than just that to your build logs.

please read the entire build logs, the real issue is never at the bottom.


jacobinca19
PROOP

2 years ago

[Region: us-west1]

==============

Using Nixpacks

==============

context: c942a0b94d60f760ef27d4ac3256ad97

╔══════ Nixpacks v1.26.0 ══════╗

║ setup │ go ║

║──────────────────────────────║

║ install │ go mod download ║

║──────────────────────────────║

║ build │ go build -o out ║

║──────────────────────────────║

║ start │ ./out ║

╚══════════════════════════════╝

#0 building with "builder-Ekll" instance using docker-container driver

#1 [internal] load build definition from Dockerfile

#1 transferring dockerfile: 1.86kB done

#1 DONE 0.0s

#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1722297819

#2 DONE 0.2s

#3 [internal] load metadata for docker.io/library/ubuntu:jammy

#3 DONE 0.3s

#4 [internal] load .dockerignore

#4 transferring context: 155B done

#4 DONE 0.0s

#5 [stage-1 1/5] FROM docker.io/library/ubuntu:jammy@sha256:adbb90115a21969d2fe6fa7f9af4253e16d45f8d4c1e930182610c4731962658

#5 resolve docker.io/library/ubuntu:jammy@sha256:adbb90115a21969d2fe6fa7f9af4253e16d45f8d4c1e930182610c4731962658 done

#5 DONE 0.0s

#6 [stage-1 2/5] WORKDIR /app/

#6 CACHED

#7 [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1722297819@sha256:91bbbdf4bf734a471738c36a57b5ba191e5c81ad1d0e9d60d70da2d318639eb8

#7 resolve ghcr.io/railwayapp/nixpacks:ubuntu-1722297819@sha256:91bbbdf4bf734a471738c36a57b5ba191e5c81ad1d0e9d60d70da2d318639eb8 done

#7 DONE 0.0s

#8 [internal] load build context

#8 transferring context: 12.99MB 0.1s done

#8 DONE 0.1s

#9 [stage-0 2/8] WORKDIR /app/

#9 CACHED

#10 [stage-0 3/8] COPY .nixpacks/nixpkgs-e89cf1c932006531f454de7d652163a9a5c86668.nix .nixpacks/nixpkgs-e89cf1c932006531f454de7d652163a9a5c86668.nix

#10 CACHED

#11 [stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-e89cf1c932006531f454de7d652163a9a5c86668.nix && nix-collect-garbage -d

#11 CACHED

#12 [stage-0 5/8] COPY . /app/.


jacobinca19
PROOP

2 years ago

@Percy this problem is not solved


jacobinca19
PROOP

2 years ago

please help me


2 years ago

Percy is a bot and was not the person helping you. I suggest you read your build logs and highlight the actual issue here


2 years ago

once you have that, then we can help


Welcome!

Sign in to your Railway account to join the conversation.

Loading...