Closed feargalWag closed 1 year ago
@feargalWag looks like unit still hasn't published a package for bookwork
I'm getting a different error:
=> ERROR [10/13] RUN apt-get update && apt-get install -y unit php7.0 un 1.2s
------
> [10/13] RUN apt-get update && apt-get install -y unit php7.0 unit-php:
#0 0.514 Hit:1 http://deb.debian.org/debian bookworm InRelease
#0 0.528 Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
#0 0.562 Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
#0 0.593 Get:4 https://packages.nginx.org/unit/debian bookworm InRelease [2803 B
]
#0 0.748 Err:4 https://packages.nginx.org/unit/debian bookworm InRelease
#0 0.748 The following signatures couldn't be verified because the public key
is not available: NO_PUBKEY ABF5BD827BD9BF62
#0 0.752 Reading package lists...
#0 1.192 W: GPG error: https://packages.nginx.org/unit/debian bookworm InRelease
: The following signatures couldn't be verified because the public key is not av
ailable: NO_PUBKEY ABF5BD827BD9BF62
#0 1.192 E: The repository 'https://packages.nginx.org/unit/debian bookworm InRe
lease' is not signed.
------
failed to solve: process "/bin/sh -c apt-get update && apt-get install -y unit p
hp7.0 unit-php" did not complete successfully: exit code: 100
Can be monkeypatched with:
RUN apt-get update --allow-insecure-repositories --allow-unauthenticated && apt-get install -y --allow-unauthenticated unit php7.0 unit-php
I'm getting a different error:
=> ERROR [10/13] RUN apt-get update && apt-get install -y unit php7.0 un 1.2s ------ > [10/13] RUN apt-get update && apt-get install -y unit php7.0 unit-php: #0 0.514 Hit:1 http://deb.debian.org/debian bookworm InRelease #0 0.528 Hit:2 http://deb.debian.org/debian bookworm-updates InRelease #0 0.562 Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease #0 0.593 Get:4 https://packages.nginx.org/unit/debian bookworm InRelease [2803 B ] #0 0.748 Err:4 https://packages.nginx.org/unit/debian bookworm InRelease #0 0.748 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62 #0 0.752 Reading package lists... #0 1.192 W: GPG error: https://packages.nginx.org/unit/debian bookworm InRelease : The following signatures couldn't be verified because the public key is not av ailable: NO_PUBKEY ABF5BD827BD9BF62 #0 1.192 E: The repository 'https://packages.nginx.org/unit/debian bookworm InRe lease' is not signed. ------ failed to solve: process "/bin/sh -c apt-get update && apt-get install -y unit p hp7.0 unit-php" did not complete successfully: exit code: 100
This fixed an error similar to the one above for me:
RUN wget -qO - https://nginx.org/keys/nginx_signing.key | apt-key add -
This thing should really just be deployed somewhere instead of everyone needing to spin it up locally
I'm getting this error when I try launch the local server via docker locally using
docker-compose up -d
command.