-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
17 lines (14 loc) · 645 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM zabbix/zabbix-server-mysql:alpine-6.0-latest
USER root
RUN set -x \
&& tempDir="$(mktemp -d)" \
&& chown nobody:nobody $tempDir \
&& cd $tempDir \
&& wget "https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/msodbcsql18_18.0.1.1-1_amd64.apk" \
&& wget "https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/mssql-tools18_18.0.1.1-1_amd64.apk" \
&& apk add --allow-untrusted msodbcsql18_18.0.1.1-1_amd64.apk \
&& apk add --allow-untrusted mssql-tools18_18.0.1.1-1_amd64.apk \
&& apk add coreutils \
&& rm -rf $tempDir \
&& rm -rf /var/cache/apk/*
USER 1997