From ed0af0424947da2f66f31694a5f35de0a4150b31 Mon Sep 17 00:00:00 2001 From: Mario Alegre Date: Tue, 16 Feb 2021 12:16:05 -0500 Subject: [PATCH] added alias to bashrc --- gitea/Containerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitea/Containerfile b/gitea/Containerfile index 57303f9..8c3126c 100644 --- a/gitea/Containerfile +++ b/gitea/Containerfile @@ -96,6 +96,9 @@ RUN cd /etc/gitea/ && \ COPY assets/gitea.service /etc/systemd/system/ +# make alias for running admin commands from command line easily +RUN echo "alias gitea='sudo -u gitea gitea --config /etc/gitea/app.ini'" >> /root/.bashrc + ### ### Crontab ###