Sign inSign up

imocence/springboot-jdk

By imocence

•Updated about 3 years ago

springboot runtime environment built on openjdk

Image
0

197

imocence/springboot-jdk repository overview

⁠Use Dockerfile file content

# Base image
FROM imocence/openjdk-alpine:v1.8.0_342

# Image creator
MAINTAINER imocence

# Specify the working directory
VOLUME ["/opt/config","/opt/lib"]

COPY entrypoint.sh /opt/

EXPOSE 8080

ENV LD_LIBRARY_PATH=/usr/lib:/lib

ENTRYPOINT ["/opt/entrypoint.sh"]

⁠Use docker-compose.yml file content

version: '2'
services:
  web:
    image: imocence/springboot-jdk1.8:v1
    container_name: web
    network_mode: bridge
    privileged: true
    ports:
      - "10000:8080"
    volumes:
      - ./config:/opt/config
      - ./lib:/opt/lib
    restart: unless-stopped

Tag summary

Content type

Image

Digest

sha256:03d849e72…

Size

63.8 MB

Last updated

about 3 years ago

docker pull imocence/springboot-jdk:v1.8.0