skip to Main Content

Command in dockerfile doesn't take effect

Below is my dockerfile. After the dependencies are installed, I want to delete a specific binary (ffmpeg) from the node_modules folder on the container, and then reinstall it using the install.js file that exists under the same folder in node_modules.…

VIEW QUESTION

Why container_layer is not getting added in the container_image? – Docker

I have the following bazel definition: docker/project/BUILD.bazel load("@io_bazel_rules_docker//container:container.bzl", "container_image") load("@io_bazel_rules_docker//docker/package_managers:download_pkgs.bzl", "download_pkgs") load("@io_bazel_rules_docker//docker/package_managers:install_pkgs.bzl", "install_pkgs") load("@io_bazel_rules_docker//docker/util:run.bzl", "container_run_and_commit") load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_layer") package(default_visibility = ["//visibility:public"]) download_pkgs( name = "apt_pkgs_installables", image_tar = "@ubuntu_bionic_base_image//image", packages = [ "build-essential", "libedit-dev", "libpq-dev", "libpython3.7", "libpython3.7-dev", "python", "python-dev", "python3.7", "python3-dev",…

VIEW QUESTION
Back To Top
Search