aboutsummaryrefslogtreecommitdiffhomepage
path: root/protoc-artifacts/Dockerfile
Commit message (Collapse)AuthorAge
* protoc-artifacts: Update centos base from 6.6 to 6.9Gravatar Eric Anderson2018-07-06
| | | | | | | | | | | | | | This avoids the need to use "yum update && yum upgrade" in the container to be able to contact GitHub, which requires TLS 1.2[1]. I have verified that binaries built with this container still run in the previous container; no errors like "/lib64/libc.so.6: version `GLIBC_2.14' not found", which occur if using too new of a glibc when compiling. CentOS 6.6 has glibc version 2.12 release 1.209.el6. CentOS 6.9 has glibc version 2.12 release 1.149.el6. Both would upgrade to release 1.212.el6 via "yum update && yum upgrade". 1. https://githubengineering.com/crypto-deprecation-notice/
* Updated Docker setup to use GCC 4.8Gravatar Adam Cozzette2018-07-06
| | | | | | | | | Now that we depend on C++11, we need at least GCC 4.8 instead of 4.7. This change updates the Docker setup to continue using CentOS 6.6 but with GCC 4.8. I also added libm to the whitelist for dynamically linked libraries for the ARM64 protoc binary.
* protoc-artifacts: Use ENTRYPOINT to enable devtoolset-1.1Gravatar Eric Anderson2018-03-28
| | | | | | | ENTRYPOINT is used even when other commands are specified on the "docker run" command line. This allows running one-off commands in the docker image (especially combined with volume binding with the host) with the correct environment variables.
* protoc-artifacts: Avoid storing temporary files and use fewer layersGravatar Eric Anderson2018-03-28
| | | | | This is just better Dockerfile hygene as it produces smaller resulting images with fewer useless files.
* protoc-artifacts: Avoid checking out protobuf codeGravatar Eric Anderson2018-03-28
| | | | | | | | | | It is a bad idea to check out code into the docker image, as it will be out-of-date. It is better to have the image just be the environment, and let any scripts that need source check them out themselves. This fixes #4419 in that it allows the image to build again, albeit users would need to use wget to grab the source of the version of protobuf they wish.
* protoc-artifacts: Bump JDK to 8u131Gravatar Eric Anderson2017-07-05
| | | | | The update 45 download process no longer works, as it requires a login to access the old build.
* Workaround the docker bug when compiling artifactsGravatar Łukasz Strzałkowski2017-05-11
| | | | | | | | | This is a workaround (https://github.com/moby/moby/issues/10180#issuecomment-190429512) the docker issue (https://github.com/moby/moby/issues/10180) which breaks protoc-artifacts build process with following error ```Rpmdb checksum is invalid: dCDPT(pkg checksums): devtoolset-1.1-elfutils.x86_64 0:0.154-6.el6 - u The command '/bin/sh -c yum clean all && yum install -y devtoolset-1.1 devtoolset-1.1-libstdc++-devel devtoolset-1.1-libstdc++-devel.i686' returned a non-zero code: 1``` https://github.com/moby/moby/issues/10180#issuecomment-190429512
* Fix maven path.Gravatar Feng Xiao2016-07-23
| | | | Change-Id: I252d7a644a9e4064a9f1a816a2be3f25f37b4c43
* Fix maven links.Gravatar Feng Xiao2016-07-22
| | | | | | [ci skip] Change-Id: Ibefbdf441d932c5751235c635244450d7cbacc53
* Dockerfile for building protoc on Centos 6.6Gravatar Kun Zhang2015-05-12