Closed inianv closed 2 months ago
Fix is to add the instruction after line 2 in the Dockerfile
as below.
RUN rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
With the above change, the docker image is built successfully,
...
=> [21/27] ADD scripts/memsqlctl /bin/memsqlctl 0.0s
=> [22/27] ADD scripts/init.sh /scripts/init.sh 0.0s
=> [23/27] RUN /scripts/init.sh "BDBkMTllNTkxYmJlNDRlN2U5ZWYyM2YzZDRmN2YwY2FmAAAAAAAAAAAEAAAAAAAAACgwNQIZALfDACVybqBaHxUHdjHEfTPECqOfdquMVwIYUKDroCKPtLk0qAuwzFHh5L6GxwTw9vDzAA==" 44.5s
=> [24/27] ADD scripts/switch-version.sh /scripts/switch-version.sh 0.1s
=> [25/27] ADD scripts/start.sh /scripts/start.sh 0.0s
=> [26/27] ADD licenses /licenses 0.0s
=> [27/27] ADD scripts/healthcheck.sh /scripts/healthcheck.sh 0.0s
=> exporting to image 1.8s
=> => exporting layers 1.8s
=> => writing image sha256:9c5a1eb930f6c6169e115ce90596bccc11041785cc0c6dcecc5f33cca2c3e153 0.0s
=> => naming to ghcr.io/singlestore-labs/singlestoredb-dev:local
Don't have permissions to commit to the repo, else would have raised a PR.
Hi @inianv, thank you very much for bringing this to our attention! I'll fix it.
Fixed. Thanks again!
Describe the bug The current build.sh script to create a custom
singlestoredb-dev
is broken because the GPG keys for AlmaLinux 8 has changed since the script was last modified. Need to import the latest keys for package installation to work.To Reproduce Steps to reproduce the behavior:
BOOTSTRAP_LICENSE
to a valid license usingexport
./build.sh
to build the local imageExpected behavior The
singlestoredb-dev
docker image to be created successfully with thelocal
tag, which didn't happen.Additional context Add any other context about the problem here.