Today our docker image is based on Centos7 ,Since centos will be EOL in 2024 and no longer has stable release stream. let's move our docker image to be based on ubuntu 20.04 Based on the work done in https://github.com/scylladb/scylla/pull/8730, let's build our docker image based on local packages using buildah Closes #8849
Docker image with a self-built executable
The following instructions will allow you to build a Docker image which contains a combination of some tools from the nightly build in http://downloads.scylladb.com/ (as described above) but with a Scylla executable which you build yourself.
Do the following in the top-level Scylla source directory:
-
Build your own Scylla in whatever build mode you prefer, e.g., dev.
-
Run
ninja dist-deb -
Run
/dist/docker/debian/build_docker.sh -
Finally, run
docker build -t <image-name> .