tla / stemmaweb

Catalyst interface and online tools for stemmatology research
13 stars 9 forks source link

Environment decryption fails with error 'command not found' #132

Closed tla closed 1 year ago

tla commented 1 year ago

I tried to decrypt the new set of development env vars and got this error:

tla@Taras-iMac swebd3 % make decrypt-env
==> 🔓 Decrypt env.zip
WARN[0000] The "STEMMAREST_HOST" variable is not set. Defaulting to a blank string. 
WARN[0000] The "STEMMAREST_PORT" variable is not set. Defaulting to a blank string. 
[+] Running 1/0
 â ¿ Network swebd3_default  Created                                                                                                                                                             0.0s
gpg (GnuPG) 2.2.27
libgcrypt 1.9.4
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /root/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
WARN[0000] The "STEMMAREST_HOST" variable is not set. Defaulting to a blank string. 
WARN[0000] The "STEMMAREST_PORT" variable is not set. Defaulting to a blank string. 
bash: line 1: unzip: command not found
make: *** [decrypt-env] Error 127

Root cause seems to be that the shell image doesn't get rebuilt before use, so if its Dockerfile changes (e.g. to install unzip) those changes aren't picked up.

tla commented 1 year ago

The Github build fails with this; perhaps because docker-compose implies v1??