0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

golangでDockerを起動するとexit status 128のエラーが出る

Posted at

Go言語のimageを使用したコンテナを起動する際にエラーが出た。

docker composeコマンドを使用した時に下記のエラーが出た。

error obtaining VCS status: exit status 128
  Use -buildvcs=false to disable VCS stamping.

Dockerfileのイメージをalpineに変更

-FROM golang:1.20 AS builder
+FROM golang:1.20.3-alpine

これでエラーが消えた。
参考までに

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?