initial import
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-28 10:58:59 +02:00
commit b3e648baae
4 changed files with 866 additions and 0 deletions

23
src/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
ARG UPSTREAM_FLAVOUR
ARG UPSTREAM_VERSION
FROM zabbix/zabbix-proxy-${UPSTREAM_FLAVOUR}:ubuntu-${UPSTREAM_VERSION}-latest
USER root
SHELL ["/bin/bash", "-c"]
RUN \
TMPFILE=$(mktemp) && \
wget -O "${TMPFILE}" https://packages.microsoft.com/keys/microsoft.asc && \
DEBIAN_FRONTEND=noninteractive apt update && \
DEBIAN_FRONTEND=noninteractive apt upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt install -y gnupg && \
apt-key add "${TMPFILE}" && \
rm "${TMPFILE}" && \
source /etc/os-release && \
wget https://packages.microsoft.com/config/ubuntu/${VERSION_ID}/prod.list -O /etc/apt/sources.list.d/mssql-release.list && \
DEBIAN_FRONTEND=noninteractive apt update && \
DEBIAN_FRONTEND=noninteractive ACCEPT_EULA=Y apt install -y msodbcsql17 mssql-tools && \
DEBIAN_FRONTEND=noninteractive apt-get clean
USER zabbix