Add a bunch more java images, syntax changes

This commit is contained in:
Matthew Penner
2020-08-04 20:11:03 -06:00
parent 52878fb967
commit 92750f6065
18 changed files with 401 additions and 8 deletions

21
java7/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
#
# Copyright (c) 2020 Matthew Penner
#
# This repository is licensed under the MIT License.
# https://github.com/matthewpi/images/blob/master/LICENSE.md
#
FROM openjdk:7-jre-alpine
LABEL author="Matthew Penner" maintainer="me@matthewp.io"
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
&& adduser -D -h /home/container container \
&& ln -s /etc/localtime /etc/timezone
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]