dev_scripts: Fix wrong usage of Dockerfile snippet

When building the *end-user* environment for Ubuntu Lunar using
`./dev_scripts/env.py ... build`, we erroneously used a Dockerfile
snippet that is actually reserved for the *development* environment.

This pairing worked by chance, but we should use the proper Dockerfile
snippet, so that we don't mix these two environments.
This commit is contained in:
Alex Pyrgiotis 2023-07-25 10:29:20 +03:00
parent 52e5da52b1
commit 17ecde3173
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -455,7 +455,7 @@ class Env:
)
elif self.distro == "ubuntu" and self.version in ("23.04", "lunar"):
install_deps = (
DOCKERFILE_UBUNTU_2304_REM_USER + DOCKERFILE_BUILD_DEV_DEBIAN_DEPS
DOCKERFILE_UBUNTU_2304_REM_USER + DOCKERFILE_BUILD_DEBIAN_DEPS
)
package = f"dangerzone_{version}-1_all.deb"
package_src = git_root() / "deb_dist" / package