Last active
November 15, 2017 11:46
-
-
Save ajvengo/6916fed0f34d9ceb92fe1b1bffafe8c6 to your computer and use it in GitHub Desktop.
Debian stretch + python, curl, jq, datamash to run performance tests scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch-slim as zstd | |
MAINTAINER Vladimir Rapatskiy <[email protected]> | |
WORKDIR /tmp | |
RUN set -ex; \ | |
apt-get -q update; \ | |
apt-get install -yq --no-install-recommends ca-certificates curl gcc make libc6-dev zlib1g-dev; \ | |
apt-get clean; \ | |
curl -sSL https://github.com/facebook/zstd/archive/v1.3.2.tar.gz | tar xz; \ | |
cd zstd-1.3.2; \ | |
CFLAGS="-march=sandybridge -O3 -flto" make -j$(nproc); \ | |
strip zstd | |
FROM debian:stretch-slim | |
WORKDIR /app | |
COPY --from=zstd /tmp/zstd-1.3.2/zstd /usr/local/bin | |
RUN apt-get -q update && \ | |
apt-get install -yq --no-install-recommends \ | |
curl \ | |
datamash \ | |
jq \ | |
libssh2-1 \ | |
libssl1.0.2 \ | |
python-pika \ | |
python-ujson && \ | |
apt-get clean && \ | |
cd /usr/lib/x86_64-linux-gnu && \ | |
ln -s libcrypto.so.1.0.2 libcrypto.so.1.0.0 && ln -s libssl.so.1.0.2 libssl.so.1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment