Commit Graph

8 Commits

Author SHA1 Message Date
Eric Anderson
cdbfdd8da8 protoc-artifacts: Use ENTRYPOINT to enable devtoolset-1.1
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.
2018-03-28 17:24:07 -07:00
Eric Anderson
67c1cd4cb7 protoc-artifacts: Avoid storing temporary files and use fewer layers
This is just better Dockerfile hygene as it produces smaller resulting
images with fewer useless files.
2018-03-28 17:24:07 -07:00
Eric Anderson
5f052ae7ae protoc-artifacts: Avoid checking out protobuf code
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.
2018-03-28 17:24:07 -07:00
Eric Anderson
a9e7a1572b protoc-artifacts: Bump JDK to 8u131
The update 45 download process no longer works, as it requires a login
to access the old build.
2017-07-05 13:13:51 -07:00
Łukasz Strzałkowski
82e50ba5c3 Workaround the docker bug when compiling artifacts
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
2017-05-11 14:04:34 -07:00
Feng Xiao
9e3c98f17b Fix maven path.
Change-Id: I252d7a644a9e4064a9f1a816a2be3f25f37b4c43
2016-07-23 19:43:03 -07:00
Feng Xiao
fdd970e4ed Fix maven links.
[ci skip]

Change-Id: Ibefbdf441d932c5751235c635244450d7cbacc53
2016-07-22 16:24:52 -07:00
Kun Zhang
2aaf5c603a Dockerfile for building protoc on Centos 6.6 2015-05-12 15:07:36 -07:00