add BASE_PACKAGES from buildargs.env
This commit is contained in:
1 parent
cfbe309e38
commit
1f89d4f495
1 file changed
+3
-40
+3
-40
@@ -9,6 +9,7 @@ ARG BUILD_LANG
|
|||||||
ARG BUILD_LANGUAGE
|
ARG BUILD_LANGUAGE
|
||||||
ARG BUILD_LC_ALL
|
ARG BUILD_LC_ALL
|
||||||
ARG BUILD_COUNTRY
|
ARG BUILD_COUNTRY
|
||||||
|
ARG BUILD_BASE_PACKAGES
|
||||||
|
|
||||||
LABEL maintainer="${BUILD_MAINTAINER}"
|
LABEL maintainer="${BUILD_MAINTAINER}"
|
||||||
LABEL org.opencontainers.image.title="${BUILD_APP_NAME}"
|
LABEL org.opencontainers.image.title="${BUILD_APP_NAME}"
|
||||||
@@ -19,49 +20,11 @@ ENV LANGUAGE=${BUILD_LANGUAGE}
|
|||||||
ENV LC_ALL=${BUILD_LC_ALL}
|
ENV LC_ALL=${BUILD_LC_ALL}
|
||||||
ENV COUNTRY=${BUILD_COUNTRY}
|
ENV COUNTRY=${BUILD_COUNTRY}
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
ENV BASE_PACKAGES=$(BUILD_BASE_PACKAGES)
|
||||||
|
|
||||||
RUN sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.sources && \
|
RUN sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.sources && \
|
||||||
apt-get update && apt-get install -y \
|
apt-get update && apt-get install -y \
|
||||||
xrdp \
|
BASE_PACKAGES && \
|
||||||
sssd \
|
|
||||||
sssd-tools \
|
|
||||||
libpam-sss \
|
|
||||||
libnss-sss \
|
|
||||||
libsss-sudo \
|
|
||||||
ldap-utils \
|
|
||||||
ca-certificates \
|
|
||||||
dbus-x11 \
|
|
||||||
xfce4 \
|
|
||||||
xfce4-terminal \
|
|
||||||
sudo \
|
|
||||||
firefox-esr \
|
|
||||||
firefox-esr-l10n-${COUNTRY} \
|
|
||||||
thunderbird \
|
|
||||||
thunderbird-l10n-${COUNTRY} \
|
|
||||||
locales \
|
|
||||||
tzdata \
|
|
||||||
keyboard-configuration \
|
|
||||||
x11-xkb-utils \
|
|
||||||
pulseaudio \
|
|
||||||
build-essential \
|
|
||||||
dpkg-dev \
|
|
||||||
git \
|
|
||||||
libpulse-dev \
|
|
||||||
meson \
|
|
||||||
ninja-build \
|
|
||||||
pkg-config \
|
|
||||||
autoconf \
|
|
||||||
libtool \
|
|
||||||
thunar-archive-plugin \
|
|
||||||
xarchiver \
|
|
||||||
unzip \
|
|
||||||
zip \
|
|
||||||
p7zip-full \
|
|
||||||
tar \
|
|
||||||
gzip \
|
|
||||||
bzip2 \
|
|
||||||
dialog \
|
|
||||||
whiptail && \
|
|
||||||
apt-get build-dep -y pulseaudio && \
|
apt-get build-dep -y pulseaudio && \
|
||||||
cd /tmp && \
|
cd /tmp && \
|
||||||
apt-get source pulseaudio && \
|
apt-get source pulseaudio && \
|
||||||
|
|||||||
Reference in new issue
Block a user