2020-07-19 19:26:09 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2020 Matthew Penner
|
|
|
|
#
|
|
|
|
# This repository is licensed under the MIT License.
|
|
|
|
# https://github.com/matthewpi/images/blob/master/LICENSE.md
|
|
|
|
#
|
|
|
|
|
|
|
|
FROM ibmjava:8-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 \
|
2020-08-05 04:11:03 +02:00
|
|
|
&& adduser -D -h /home/container container \
|
|
|
|
&& ln -s /etc/localtime /etc/timezone
|
2020-07-19 19:26:09 +02:00
|
|
|
|
|
|
|
USER container
|
|
|
|
ENV USER=container HOME=/home/container
|
|
|
|
WORKDIR /home/container
|
|
|
|
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
|
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|