@@ -8,7 +8,7 @@ LABEL maintainer="Dave Conroy (github.com/tiredofit)"
8
8
ENV INFLUX_VERSION=1.8.0 \
9
9
INFLUX2_VERSION=2.4.0 \
10
10
MSSQL_VERSION=18.0.1.1-1 \
11
- AWS_CLI_VERSION=1.25.97 \
11
+ AWS_CLI_VERSION=2.13.12 \
12
12
CONTAINER_ENABLE_MESSAGING=FALSE \
13
13
CONTAINER_ENABLE_MONITORING=TRUE \
14
14
CONTAINER_PROCESS_RUNAWAY_PROTECTOR=FALSE \
@@ -24,13 +24,17 @@ RUN source /assets/functions/00-container && \
24
24
build-base \
25
25
bzip2-dev \
26
26
cargo \
27
+ cmake \
27
28
git \
28
29
go \
29
30
libarchive-dev \
30
31
openssl-dev \
31
32
libffi-dev \
32
33
python3-dev \
34
+ py3-flit-core \
35
+ py3-gpep517 \
33
36
py3-setuptools \
37
+ py3-wheel \
34
38
py3-pip \
35
39
xz-dev \
36
40
&& \
@@ -47,13 +51,20 @@ RUN source /assets/functions/00-container && \
47
51
postgresql15 \
48
52
postgresql15-client \
49
53
pv \
54
+ py3-awscrt \
50
55
py3-botocore \
56
+ py3-certifi \
51
57
py3-colorama \
52
58
py3-cryptography \
59
+ py3-dateutil \
60
+ py3-distro \
53
61
py3-docutils \
54
62
py3-jmespath \
63
+ py3-prompt_toolkit \
55
64
py3-rsa \
65
+ py3-ruamel.yaml \
56
66
py3-s3transfer \
67
+ py3-urllib3 \
57
68
py3-yaml \
58
69
python3 \
59
70
redis \
@@ -73,7 +84,10 @@ RUN source /assets/functions/00-container && \
73
84
if [ $mssql = "true" ] ; then curl -O https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/msodbcsql18_${MSSQL_VERSION}_amd64.apk ; curl -O https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/mssql-tools18_${MSSQL_VERSION}_amd64.apk ; echo y | apk add --allow-untrusted msodbcsql18_${MSSQL_VERSION}_amd64.apk mssql-tools18_${MSSQL_VERSION}_amd64.apk ; else echo >&2 "Detected non x86_64 build variant, skipping MSSQL installation" ; fi; \
74
85
if [ $influx2 = "true" ] ; then curl -sSL https://dl.influxdata.com/influxdb/releases/influxdb2-client-${INFLUX2_VERSION}-linux-${influx_arch}.tar.gz | tar xvfz - --strip=1 -C /usr/src/ ; chmod +x /usr/src/influx ; mv /usr/src/influx /usr/sbin/ ; else echo >&2 "Unable to build Influx 2 on this system" ; fi ; \
75
86
clone_git_repo https://github.com/aws/aws-cli "${AWS_CLI_VERSION}" && \
76
- python3 setup.py install --prefix=/usr && \
87
+ /usr/bin/python -m pip install --prefer-binary 'cryptography>=3.3.2,<40.0.2' 'ruamel.yaml>=0.15.0,<=0.17.21' 'awscrt>=0.16.4,<=0.16.16' && \
88
+ ./configure && \
89
+ make && \
90
+ make install && \
77
91
clone_git_repo https://github.com/influxdata/influxdb "${INFLUX_VERSION}" && \
78
92
go build -o /usr/sbin/influxd ./cmd/influxd && \
79
93
strip /usr/sbin/influxd && \
@@ -105,5 +119,4 @@ RUN source /assets/functions/00-container && \
105
119
/tmp/* \
106
120
/usr/src/*
107
121
108
-
109
122
COPY install /
0 commit comments