.circleci/images/primary/Dockerfile-2.2.10 in ddtrace-0.47.0 vs .circleci/images/primary/Dockerfile-2.2.10 in ddtrace-0.48.0
- old
+ new
@@ -13,11 +13,11 @@
# Install required packages
RUN set -ex; \
apt-get update; \
mkdir -p /usr/share/man/man1; \
- apt-get install -y --no-install-recommends \
+ apt-get install --force-yes --no-install-recommends \
git mercurial xvfb \
locales sudo openssh-client ca-certificates tar gzip parallel \
net-tools netcat unzip zip bzip2 gnupg curl wget \
tzdata rsync vim; \
rm -rf /var/lib/apt/lists/*;
@@ -59,9 +59,19 @@
RUN DOCKERIZE_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/dockerize-latest.tar.gz" \
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/dockerize-linux-amd64.tar.gz $DOCKERIZE_URL \
&& tar -C /usr/local/bin -xzvf /tmp/dockerize-linux-amd64.tar.gz \
&& rm -rf /tmp/dockerize-linux-amd64.tar.gz \
&& dockerize --version
+
+# Install Protobuf compiler
+RUN export PROTOC_URL="https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip" \
+ && echo Protoc URL: $PROTOC_URL \
+ && curl --silent --show-error --location --fail --retry 3 --output /tmp/protoc.zip "${PROTOC_URL}" \
+ && ls -lha /tmp/protoc.zip \
+ && unzip /tmp/protoc.zip -d /tmp/protoc \
+ && mv /tmp/protoc/bin/* /usr/bin \
+ && rm -rf /tmp/protoc /tmp/protoc.zip \
+ && protoc --version
# Install RubyGems
RUN gem update --system 2.7.9
RUN gem install bundler -v '1.17.3'
ENV BUNDLE_SILENCE_ROOT_WARNING 1