Update docker build command in deploy scripts
Reporters
- Lluis Gifre (CTTC)
Description
Starting in Docker v23.0, the build command has been updated. It still works, but raises a DEPRECATION WARNING as shown below.
...
Processing 'context' component...
Building Docker image...
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
...
By now, it still works, but needs to be resolved to prevent issues while deploying TeraFlowSDN.
Deployment environment
- Operating System (include version): any
- MicroK8s (include version and add-ons): any
- TeraFlowSDN (include release/branch-name/commit-id): any
- Docker Engine: >= v23.0
TFS deployment settings
All deployment configurations
Sequence of actions that resulted in the bug
- Upgrade your Ubuntu packages:
sudo apt-get update && sudo apt-get dist-upgrade
- Check version of Docker Engine:
sudo dpkg -l | grep docker
should reportii docker.io 24.0.5-...
- Deploy TeraFlowSDN as usual with flag
export TFS_SKIP_BUILD=""
Document the explicit error
See description above.
Expected behaviour
See description above.