Merge pull request #98 from parkervcp/update_parkertron
update parkertron image
This commit is contained in:
@@ -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"
|
||||
|
||||
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 iproute2 \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
CMD ["/bin/ash", "/entrypoint.sh"]
|
||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/ash
|
||||
#!/bin/bash
|
||||
cd /home/container
|
||||
|
||||
# Set environment variable that holds the Internal Docker IP
|
||||
|
Reference in New Issue
Block a user