Merge pull request #98 from parkervcp/update_parkertron

update parkertron image
This commit is contained in:
Quinten
2022-11-26 15:25:32 +01:00
committed by GitHub
2 changed files with 8 additions and 5 deletions

View File

@@ -1,13 +1,16 @@
FROM --platform=$TARGETOS/$TARGETARCH alpine:3.9 FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
RUN apk add --update --no-cache git curl lua-stdlib lua musl-dev g++ libc-dev tesseract-ocr tesseract-ocr-dev \ ENV DEBIAN_FRONTEND noninteractive
&& adduser -D -h /home/container container
RUN apt update -y \
&& apt install -y libtesseract-dev iproute2 \
&& useradd -m -d /home/container container
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container
WORKDIR /home/container WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/ash", "/entrypoint.sh"] CMD ["/bin/bash", "/entrypoint.sh"]

View File

@@ -1,4 +1,4 @@
#!/bin/ash #!/bin/bash
cd /home/container cd /home/container
# Set environment variable that holds the Internal Docker IP # Set environment variable that holds the Internal Docker IP