This is a docker image for projects that use Tomcat for building Microservices. We also added standard RPC frameworks for easier development. Here is a list of things installed:
Tomcat (v8.5)
Apache Tomcat webserver is the base of this image (original docker image).
Gradle (v4.10.3)
Gradle build system. Dockerfile commands based on this Docker image).
Thrift (v0.11.0)
Apache Thrift for RPC communications between microservices. Dockerfile commands based on this Docker image.
Google Protocol Buffers (v.3.6.1)
Also know as protobuf, this is a protocol for serializing structured data. The protoc compiler is available for your use. Dockerfile commands based on this Docker image.
gRPC (v.1.17.1)
Java bindings for Google's RPC framework. We also added the grpc-java plugin built from source (downloading from Maven Central is is also possible if compatible with your OS, but Alpine Linux doesn't have binaries yet). Dockerfile instructions based on the grpc-java build instructions and this Docker image.
8.5,latest (Dockerfile)Images are tagged with the Tomcat version numbers. If you need any other version, please feel free to open a PR.
| Variable | Description | Value |
|---|---|---|
| PROTOC_HOME | Path for the protobuf compiler | /usr/bin/protoc |
| GRPC_JAVA_PLUGIN_HOME | Path to the gRPC Java plugin | /usr/local/bin/protoc-gen-grpc-java |
| JAVA_HOME | Java home | /usr/lib/jvm/java-1.8-openjdk |
| GRADLE_HOME | Gradle home | /usr/local/lib/gradle |
| GRADLE_VERSION | Current Gradle version | 4.10.3 |
| PROTOBUF_VERSION | Current Protobuf version | 3.6.1 |
| GRPC_JAVA_VERSION | Current gRPC Java version | 1.17.1 |
| APACHE_THRIFT_VERSION | Current Thrift version | 0.11.0 |
| APK_GLIBC_VERSION | Current Alpine GLIBC version | 2.27-r0 |
If you are not familiar with Docker, or just forget the commands all the time like me, here is a rundown:
# run linking to the admin panel and main page
docker run --rm -ti jfloff/thrike:latest
# Use as base in another Dockerfile
FROM jfloff/thrike:8.5
# build from this repo's Dockerfile (if you fork it)
docker build --rm -t jfloff/thrike .
The code in this repository, unless otherwise noted, is MIT licensed. See the LICENSE file in this repository.
Content type
Image
Digest
Size
550 MB
Last updated
over 7 years ago
docker pull jfloff/thrike