File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ ENV ANSIBLE_VERSION=2.10.3 \
1818 PYWINRM_VERSION=0.4.1 \
1919 SHELLCHECK_VERSION=v0.7.2 \
2020 SHFMT_VERSION=3.2.4 \
21+ UPX_VERSION=3.96 \
2122 PATH=$PATH:/usr/local/go/bin:/go/bin:/usr/local/bin/docker \
2223 GOPATH=/go
2324
5556 rsync \
5657 ruby \
5758 unzip \
58- upx \
5959 util-linux \
6060 vim \
6161 wamerican \
@@ -107,6 +107,9 @@ RUN \
107107 && chmod +rx /usr/local/bin/goss \
108108 && curl -L "https://github.com/aelsabbahy/goss/releases/download/${GOSS_VERSION}/dgoss" -o /usr/local/bin/dgoss \
109109 && chmod +rx /usr/local/bin/dgoss \
110+ && curl -sSL -o /tmp/upx.tar.xz https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${UPX_VERSION}-amd64_linux.tar.xz \
111+ && tar -xvf /tmp/upx.tar.xz -C /tmp \
112+ && mv /tmp/upx-${UPX_VERSION}-amd64_linux/upx /usr/local/bin/upx \
110113 && pip3 install --disable-pip-version-check --no-cache-dir --upgrade pip \
111114 && pip3 install --disable-pip-version-check --no-cache-dir azure-cli==${AZCLI_VERSION} PyJWT==${PYJWT_VERSION} shyaml ansible==${ANSIBLE_VERSION} pywinrm==${PYWINRM_VERSION} \
112115 && apt-get purge --auto-remove -y libffi-dev python3-dev \
You can’t perform that action at this time.
0 commit comments