java8 apline docker

FROM alpine:3.11

ADD jdk-8u202-linux-x64.tar.gz /usr/java/jdk/
ENV JAVA_HOME /usr/java/jdk
ENV PATH ${PATH}:${JAVA_HOME}/bin

ADD data-integration /usr/kettle/

WORKDIR /opt

version: '3'
services:
  java8:
    build:
      context: ./
      dockerfile: dockerfile
    container_name: java:8-alpine
posted @ 2023-01-16 12:03  vx_guanchaoguo0  阅读(73)  评论(0编辑  收藏  举报