tt icon indicating copy to clipboard operation
tt copied to clipboard

Impossible to pack cartridge app in docker

Open hackallcode opened this issue 1 year ago • 1 comments

I ran the following commands:

tt create cartridge --name tnt_app
cd tnt_app
tt init
tt pack tgz --use-docker --tarantool-version "2.11.2"

As the result, I got the error:

  • Using tarantool version 2.11.2 for packing
   • Apps to pack: tarantool
   • Generating new tt.yaml for the new package
   • Building docker image 'ubuntu:tt_pack'.
   • Docker image is built.
   ⨯ tt.yaml not found, you need to create tt environment config with 'tt init' or provide exact config location with --cfg option
   ⨯ container exit code is 1

I also tried using the --cartridge-compat flag, but it had no effect.

hackallcode avatar Sep 25 '24 09:09 hackallcode

Баг есть. Но эти шаги:

cd tnt_app
tt init

избыточны. Без них ошибки с ненайденным конфигом не будет.

psergee avatar Sep 30 '24 07:09 psergee