From 2cc8b68729b303989838a7efa0983db3c4ceb775 Mon Sep 17 00:00:00 2001 From: Cory Beeson <37867832+Beesoc@users.noreply.github.com> Date: Sun, 10 Sep 2023 19:03:37 -0500 Subject: [PATCH 1/3] Add files via upload --- Dockerfile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c039ebe --- /dev/null +++ b/Dockerfile @@ -0,0 +1,50 @@ +# Use Alpine Linux as the base image +FROM ubuntu:latest + +# Set the working directory to /app +WORKDIR /app + +ENV TERM xterm-256color + +# Install git and update the package index +RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y -qq git \ + sudo \ + apt-utils \ + bash \ + dialog + +# Clone your GitHub repository to the /app/ directory +RUN git clone https://github.com/Beesoc/easy-linux.git /app/ + +# Copy your installer script to the container +COPY wordlists/ /wordlists/ + +# Source the .envrc file to set environment variables +RUN . /app/.envrc + +# Create symlinks to redirect /opt/easy-linux/ to /app/ +RUN ln -s /app/ /opt/easy-linux \ + && ln -s /backup/ /opt/backup \ + && ln -s /compiled/ /$HOME/compiled \ + && ln -s /wordlists/ /usr/share/wordlists + +# Install dependencies and set up the environment (you may need to customize this part) +RUN apt update && apt install -y -qq \ + nano \ + xauth \ + xterm \ + gnome-terminal + # Add any other dependencies your installer script requires here + +# Run chmod +x on *.sh files in /app, /app/install, /app/support, and /app/support/misc +RUN find /app -type f -name "*.sh" -exec chmod +x {} \; + +# Run the touch and chown commands +RUN touch /app/support/.last_update \ + && chown -vR $USER:0 /app/support/.last_update + +# Expose any ports if needed +# EXPOSE 80 + +# Define the command to run your installer script +CMD ["/opt/easy-linux/install/menu-master.sh"] From eb4387244cda7fbe7588a7ac0aeecf67d77a535b Mon Sep 17 00:00:00 2001 From: Cory Beeson <37867832+Beesoc@users.noreply.github.com> Date: Sun, 10 Sep 2023 19:15:36 -0500 Subject: [PATCH 2/3] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c039ebe..d7d4ce7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN ln -s /app/ /opt/easy-linux \ && ln -s /wordlists/ /usr/share/wordlists # Install dependencies and set up the environment (you may need to customize this part) -RUN apt update && apt install -y -qq \ +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \ nano \ xauth \ xterm \ From 251a4cf31d4a52582e7b94f8aa753c91f1dc5efe Mon Sep 17 00:00:00 2001 From: Cory Beeson <37867832+Beesoc@users.noreply.github.com> Date: Sun, 10 Sep 2023 19:16:59 -0500 Subject: [PATCH 3/3] Update .envrc --- .envrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.envrc b/.envrc index 4e4fdf7..83578dd 100644 --- a/.envrc +++ b/.envrc @@ -17,8 +17,8 @@ export OGH='\e[0;30;44m' export UK='\e[0;38m' #export BG='\e[0;44m' export NC='\e[0m' -export ITAL=$(tput sitm) -export BOLD=$(tput bold) +#export ITAL=$(tput sitm) +#export BOLD=$(tput bold) export FILLBAR='${(l:112::─:)}' export HLINE=─