mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
wip
This commit is contained in:
parent
6115fc7945
commit
e60521fc09
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile
Normal file
22
linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
FROM epicmorg/debian:jessie
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
##################################################################
|
||||
# installing java8
|
||||
##################################################################
|
||||
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
|
||||
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ jessie main' > /etc/apt/sources.list.d/adoptopenjdk-official.list && \
|
||||
apt-get update && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install -y --allow-unauthenticated adoptopenjdk-8-hotspot
|
||||
|
||||
##################################################################
|
||||
# cleanup
|
||||
##################################################################
|
||||
RUN apt-get purge policykit-1 -y && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoclean -y && \
|
||||
rm -rfv /var/lib/apt/lists/* && \
|
||||
rm -rfv /tmp/* && \
|
||||
rm -rfv /var/cache/apt/archives/*.deb
|
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Makefile
Normal file
19
linux/ecosystem/epicmorg/debian/08-jessie/jdk8/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
docker-compose build --compress --parallel
|
||||
|
||||
deploy:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -0,0 +1,6 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/debian:jessie-jdk8"
|
||||
build:
|
||||
context: .
|
Loading…
Reference in New Issue
Block a user