Files
yolks/bot/parkertron/Dockerfile
Michael (Parker) Parker c564e117f5 add ca-certificates
Reformatted File
Added notes

Moved general packages to their own line

Added eng language package to image as it's the default supported lang
2022-11-29 12:27:25 -05:00

21 lines
640 B
Docker

FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND noninteractive
RUN apt update -y \
# general packages
&& apt install -y iproute2 ca-certificates \
# additional packages for tesseract and eng lang support
libtesseract-dev tesseract-ocr-eng \
# add container user to run application
&& useradd -m -d /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]