From 436c7e94719e8baef3bd6a2b8cf0e3dabd8a9881 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 14 Apr 2024 16:27:38 +0200 Subject: [PATCH] Dockerfile: use expicit base image dbt1/debian-tuxbox-base:v1.0 --- Dockerfile | 69 +++--------------------------------------------------- 1 file changed, 3 insertions(+), 66 deletions(-) diff --git a/Dockerfile b/Dockerfile index 60818d5..dfef390 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,71 +1,8 @@ -## Use the official Debian 11 image as a base -# FROM debian:bullseye-slim -FROM dbt1/git-tools - -### Path only valid while build base image -ENV PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" - -### Install the required tools and packages -RUN apt-get update && apt-get install -y --no-install-recommends \ - bash \ - bzip2 \ - binutils \ - build-essential \ - chrpath \ - clisp \ - coreutils \ - cpio \ - cppcheck \ - curl \ - debianutils \ - default-jre \ - diffstat \ - diffutils \ - doxygen \ - file \ - gcc \ - gcc-multilib \ - git-core \ - gnupg \ - gawk \ - iputils-ping \ - libc-bin \ - libc6 \ - libcapstone4 \ - libegl1-mesa \ - libsdl1.2debian \ - libsdl2-dev \ - libxml2-utils \ - lighttpd \ - linux-libc-dev \ - locales-all \ - locales \ - make \ - nano \ - net-tools \ - ninja-build \ - openssh-server \ - passwd \ - procps \ - pylint3 \ - python \ - python3 \ - python3-git \ - python3-jinja2 \ - python3-pexpect \ - rsync \ - runit \ - sed \ - socat \ - subversion \ - sudo \ - texinfo \ - tree \ - unzip \ - util-linux \ - wget +## Use the official Debian 11 image based up debian:bullseye-slim as a base +FROM dbt1/debian-tuxbox-base:v1.0 ### Args +ARG PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ARG BUILDENV_GIT_URL=${BUILDENV_GIT_URL} ARG BUILDENV_VERSION=${BUILDENV_VERSION} ARG BUILDENV_PREFIX=${BUILDENV_PREFIX}