summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-12-04 21:00:55 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-12-04 21:01:08 +0530
commitfe86c7f134ca57280af53eef773b62ec454a3200 (patch)
treefb6619952a8715ce6dcb4f2e298dd1aef4099738
parent633474a4554c83782726afdf511cd7ae911e619b (diff)
update directory structure
-rw-r--r--.gitignore2
-rw-r--r--Dockerfile9
-rw-r--r--src/.repo/local_manifests/personal.xml (renamed from .repo/local_manifests/personal.xml)0
3 files changed, 9 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 33662f5..71bcfc6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/*
+src/*
diff --git a/Dockerfile b/Dockerfile
index f4973e1..bd8322c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@ ARG http_proxy
RUN DEBIAN_FRONTEND="noninteractive" apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get upgrade -y
-RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y apt-utils
+RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y apt-utils sudo
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev lib32ncurses5-dev libncurses5 libncurses5-dev
@@ -16,6 +16,13 @@ RUN curl -o /usr/local/bin/repo https://storage.googleapis.com/git-repo-download
RUN chmod a+x /usr/local/bin/repo
RUN useradd -m -s /bin/bash -u $userid -g $groupid $username
+RUN echo "compromyse ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
WORKDIR /home/$username
USER $username
+
+ENV USER=$username
+
+RUN git config --global user.email "raghus2247@gmail.com"
+RUN git config --global user.name "Raghuram Subramani"
+RUN git lfs install
diff --git a/.repo/local_manifests/personal.xml b/src/.repo/local_manifests/personal.xml
index ed3ca4c..ed3ca4c 100644
--- a/.repo/local_manifests/personal.xml
+++ b/src/.repo/local_manifests/personal.xml