message: lestarch: reworking docker to only include the fprime-base
diff: @@ -22,7 +22,8 @@ RUN groupadd fprime && \
  bash git build-essential cmake time python3 python3-setuptools python3-pip python3-venv valgrind && \
  mkdir -p /opt/ && chown fprime:fprime /opt/ && \
  git clone --quiet https://github.com/raspberrypi/tools.git /opt/rpi/tools && \
  - apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  + apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
  + pip3 install --no-cache-dir fprime-tools fprime-gds
  # Change user and group of the virtual environment
  # Make fprime user default user
  ENV HOST fprime
  @@ -31,41 +32,3 @@ ENV LANG C.UTF-8
  ENV LC_ALL C.UTF-8
  USER fprime
  ENTRYPOINT ["/bin/bash"]
  -
  -### **** **** Add Non-CI Images Here **** **** ###
  -FROM fprime-base AS fprime-docker
  -RUN git clone --quiet https://github.com/nasa/fprime.git /opt/fprime && \
  - python3 -m venv /opt/fprime-venv/ && . /opt/fprime-venv/bin/activate && \
  - pip install --no-cache-dir fprime-tools fprime-gds && \
  - rm -r ~/.cache/pip && \
  - chown -R fprime:fprime /opt/fprime-venv && \
  - chmod -R 775 /opt/fprime-venv
  -ENV VIRTUAL_ENV "/opt/fprime-venv"
  -ENV PATH "/opt/fprime-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  -
  -####
  -# F Prime CI Image: **** Must Be Last Image In File ****
  -#
  -# This sets up an image for use within a CI build system. This is currently configured for the
  -# Jenkins CI system. This means a Jenkins user is created, setup and ready to run.
  -#
  -# This is the last image in the file because the Jenkins server used by F prime does not expose
  -# the --target argument for building the docker image. As such, this image is the one built and
  -# used for Jenkins.
  -####
  -FROM fprime-docker AS jenkins-ci
  -USER root
  -RUN groupadd jenkins && \
  - groupmod -g 1003 jenkins && \
  - useradd -ms /bin/bash -g root -G sudo,jenkins,fprime -p jenkins jenkins && \
  - usermod -u 1003 jenkins && \
  - usermod -a -G fprime jenkins
  -USER jenkins
  -ENV HOST jenkins
  -ENV USER jenkins
  -# Paths and entrypoints
  -ENV PATH "/opt/fprime-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  -ENV LANG C.UTF-8
  -ENV LC_ALL C.UTF-8
  -ENV CI_CLEAN_REPO "NO_REALLY_I_WANT_TO_NUKE_ALL_YOUR_BASE"
  -ENTRYPOINT ["/bin/bash"]
  