paspo 2d2edec55b
Some checks failed
continuous-integration/drone/push Build is failing
fix zabbix 7.0
2024-12-31 00:22:52 +01:00

18 lines
624 B
Plaintext

ARG UPSTREAM_FLAVOUR
FROM zabbix/zabbix-proxy-${UPSTREAM_FLAVOUR}:ubuntu-7.0-latest
USER root
SHELL ["/bin/bash", "-c"]
RUN \
source /etc/os-release && \
wget -O "/tmp/a.deb" https://packages.microsoft.com/ubuntu/${VERSION_ID}/prod/pool/main/p/packages-microsoft-prod/packages-microsoft-prod_1.1-ubuntu${VERSION_ID}_all.deb && \
DEBIAN_FRONTEND=noninteractive apt install -y /tmp/a.deb && \
rm /tmp/a.deb && \
DEBIAN_FRONTEND=noninteractive apt update && \
DEBIAN_FRONTEND=noninteractive ACCEPT_EULA=Y apt install -y msodbcsql18 mssql-tools18 && \
DEBIAN_FRONTEND=noninteractive apt-get clean
USER zabbix