diff --git a/bot/parkertron/Dockerfile b/bot/parkertron/Dockerfile index 87fc60a..5fb62c0 100644 --- a/bot/parkertron/Dockerfile +++ b/bot/parkertron/Dockerfile @@ -2,8 +2,11 @@ FROM --platform=$TARGETOS/$TARGETARCH alpine:3.9 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 \ - && adduser -D -h /home/container container +ENV DEBIAN_FRONTEND noninteractive + +RUN apt update -y \ + && apt install -y libtesseract-dev \ + && useradd -m -d /home/container container USER container ENV USER=container HOME=/home/container diff --git a/bot/parkertron/entrypoint.sh b/bot/parkertron/entrypoint.sh index 1971986..d0aea75 100644 --- a/bot/parkertron/entrypoint.sh +++ b/bot/parkertron/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/ash +#!/bin/bash cd /home/container # Set environment variable that holds the Internal Docker IP