diff --git a/bullseye/x86/Dockerfile b/bullseye/x86/Dockerfile
index 48f1ad9fa48122f58658b4cb2ac6a4b040c62f37..a66b6714e573f36dafe21fb6cbb38c7219e70d4d 100644
--- a/bullseye/x86/Dockerfile
+++ b/bullseye/x86/Dockerfile
@@ -7,7 +7,7 @@ RUN apt-get update \
 
 RUN apt-get install -y \
   sudo wget curl tar expect git \
-  devscripts build-essential lua5.1 lintian ccache pbuilder aptitude apt-utils
+  devscripts build-essential liblua5.1-0-dev lintian ccache pbuilder aptitude apt-utils
 
 RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >/etc/apt/sources.list.d/backports.list
 
diff --git a/bullseye/x86_64/Dockerfile b/bullseye/x86_64/Dockerfile
index 40cdcf8e40e7370438dc803f0811c7e7c99288b5..63517a7932ca504cfa33098515209898789804dc 100644
--- a/bullseye/x86_64/Dockerfile
+++ b/bullseye/x86_64/Dockerfile
@@ -7,7 +7,7 @@ RUN apt-get update \
 
 RUN apt-get install -y \
   sudo wget curl tar expect git \
-  devscripts build-essential lua5.1 lintian ccache pbuilder aptitude apt-utils
+  devscripts build-essential liblua5.1-0-dev lintian ccache pbuilder aptitude apt-utils
 
 RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >/etc/apt/sources.list.d/backports.list
 
diff --git a/buster/x86/Dockerfile b/buster/x86/Dockerfile
index 498e3cdd7b612e55fa4aef11a426e3f512a0286d..5a0013537f75d0dccbfdeca8a53b199a9e64256d 100644
--- a/buster/x86/Dockerfile
+++ b/buster/x86/Dockerfile
@@ -7,7 +7,7 @@ RUN apt-get update \
 
 RUN apt-get install -y \
   sudo wget curl tar expect git \
-  devscripts build-essential lua5.1 lintian ccache pbuilder aptitude apt-utils
+  devscripts build-essential liblua5.1-0-dev lintian ccache pbuilder aptitude apt-utils
 
 RUN echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sources.list.d/backports.list
 
diff --git a/buster/x86_64/Dockerfile b/buster/x86_64/Dockerfile
index 2afebc80251b0fd4c321dab72fcfabca5906c9b3..ac60453eaf12e8920fef5e8e6cccb7d3d7850166 100644
--- a/buster/x86_64/Dockerfile
+++ b/buster/x86_64/Dockerfile
@@ -7,7 +7,7 @@ RUN apt-get update \
 
 RUN apt-get install -y \
   sudo wget curl tar expect git \
-  devscripts build-essential lua5.1 lintian ccache pbuilder aptitude apt-utils
+  devscripts build-essential liblua5.1-0-dev lintian ccache pbuilder aptitude apt-utils
 
 RUN echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sources.list.d/backports.list
 
diff --git a/stretch/x86/Dockerfile b/stretch/x86/Dockerfile
index 293a06f1caa1417f76b643de5a3faad2e593a0c6..df64f8923247eb42122f55e499d734f0f6c15c27 100644
--- a/stretch/x86/Dockerfile
+++ b/stretch/x86/Dockerfile
@@ -7,7 +7,7 @@ RUN apt-get update \
 
 RUN apt-get install -y \
   sudo wget curl tar expect git \
-  devscripts build-essential lua5.1 lintian ccache pbuilder aptitude apt-utils apt-transport-https
+  devscripts build-essential liblua5.1-0-dev lintian ccache pbuilder aptitude apt-utils apt-transport-https
 
 RUN echo "deb http://deb.debian.org/debian stretch-backports main" >/etc/apt/sources.list.d/backports.list
 
diff --git a/stretch/x86_64/Dockerfile b/stretch/x86_64/Dockerfile
index beeb5c498425b3b96c953448c52244ce59a697e3..de04631239dd92830033eda4e02bba71db39a124 100644
--- a/stretch/x86_64/Dockerfile
+++ b/stretch/x86_64/Dockerfile
@@ -7,7 +7,7 @@ RUN apt-get update \
 
 RUN apt-get install -y \
   sudo wget curl tar expect git \
-  devscripts build-essential lua5.1 lintian ccache pbuilder aptitude apt-utils apt-transport-https
+  devscripts build-essential liblua5.1-0-dev lintian ccache pbuilder aptitude apt-utils apt-transport-https
 
 RUN echo "deb http://deb.debian.org/debian stretch-backports main" >/etc/apt/sources.list.d/backports.list