diff --git a/.gitlab-ci/container.yml b/.gitlab-ci/container.yml
index 99d76e8f5efa1a16a79577eaca0ec6f1d7cbb25d..8c3cf40a67a1939f42b2def264468caeac02373e 100644
--- a/.gitlab-ci/container.yml
+++ b/.gitlab-ci/container.yml
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 variables:
-  BITBAKE_CONTAINER_VERSION: "0.6"
+  BITBAKE_CONTAINER_VERSION: "0.7"
   OPENHARMONY_CONTAINER_VERSION: "0.1"
 
 .kaniko:
diff --git a/.gitlab-ci/container/bitbake-builder/Dockerfile b/.gitlab-ci/container/bitbake-builder/Dockerfile
index c5285ac0b02520ec2877b804ca5d91264b5db592..0a2f61a60afdeb2d9860d18c5212cc2e78d02b96 100644
--- a/.gitlab-ci/container/bitbake-builder/Dockerfile
+++ b/.gitlab-ci/container/bitbake-builder/Dockerfile
@@ -28,7 +28,6 @@ COPY --chown=root:root ppa/zyga-ubuntu-oh-tools.gpg /etc/apt/trusted.gpg.d/
 RUN eatmydata apt-get update -qq \
  && eatmydata apt-get install -qq -y \
         bash git-repo apt-utils build-essential chrpath cpio diffstat gawk git sudo wget \
-        flex bison \
         language-pack-en-base time locales python-is-python3 python3-distutils libssl-dev \
         iproute2 iputils-ping curl jq ca-certificates git-lfs \
         lz4 zstd git-restore-mtime \