a month ago
Here's an excerpt from the build log. Note that the executable is supposed to be out, same as the default.
2026-02-01T16:06:24.864010066Z [inf] copy go.mod
2026-02-01T16:06:24.864010226Z [inf] copy go.sum
2026-02-01T16:06:24.864010497Z [inf] go mod download
2026-02-01T16:06:28.734245274Z [inf] go mod download
2026-02-01T16:06:28.855672236Z [inf] copy / /app
2026-02-01T16:06:29.576028287Z [inf] copy / /app
2026-02-01T16:06:29.644497562Z [inf] go build -ldflags='-w -s' -o ./out ./
2026-02-01T16:06:31.618543445Z [inf] go build -ldflags='-w -s' -o ./out ./
2026-02-01T16:06:32.677379076Z [inf] copy /app
2026-02-01T16:06:32.677536282Z [inf] install apt packages: tzdata
2026-02-01T16:06:33.029944994Z [inf] copy /app
2026-02-01T16:06:33.174591766Z [inf] [railpack] merge $packages:apt:runtime, $build
2026-02-01T16:06:33.449283199Z [inf] [railpack] merge $packages:apt:runtime, $build
2026-02-01T16:06:33.513383835Z [inf] exporting to docker image format
2026-02-01T16:06:34.341504587Z [inf] exporting to docker image formatHowever, here are the actual files. Note that the executable is named as callbridge, used to be the project name.
```
root@cba967088c87:/app# ls -lart
total 17920
-rw-rw-r-- 1 root root 449 Feb 1 16:05 railway.json
-rw-rw-r-- 1 root root 208 Feb 1 16:05 railpack.json
-rw-rw-r-- 1 root root 1147 Feb 1 16:05 main.go
-rw-rw-r-- 1 root root 25275 Feb 1 16:05 go.sum
-rw-rw-r-- 1 root root 3676 Feb 1 16:05 go.mod
...
drwxr-xr-x 1 root root 4096 Feb 1 16:06 ..
-rwxr-xr-x 1 root root 18262811 Feb 1 16:06 callbridge
drwxr-xr-x 1 root root 4096 Feb 1 16:06 .
```
This looks like a bug. I had to put sleep 10000 as startCommand to be able to SSH into the container to figure this out.
Also note that some log entries are shown twice but with different timestamps. Not sure if the build process actually ran twice, or it's just a log processing issue.
Another side note - why the second code block wasn't rendered? I really tried hard when editing but no luck.
0 Replies