FROM ubuntu:22.04

EXPOSE 4411

ENV TZ="Europe/Brussels"
ENV DEBIAN_FRONTEND="noninteractive"

RUN apt update -y && apt install -y openjdk-8-jdk bash

COPY dist/eclipse /eclipse
COPY start.sh /start.sh

CMD ["/start.sh"]