Closed smanders closed 10 months ago
in case the commit referenced above ever disappears, the basics of the proposal was to add
# The pwd of the host machine
ARG HOSTPWD
ENV HOSTPWD=${HOSTPWD}
to .devcontainer/centos7-[bld|dev|run].dockerfile
, just after timezone TZ
adding
HOSTPWD: ${HOSTPWD}
to .devcontainer/compose.bld.yml just after
TZ: ${TZ}`
and adding
env="${env}\nHOSTPWD=$(pwd)"
to .devcontainer/denv.sh
what they were attempting to do with HOSTPWD
was never fully explained
here's the pull that merged to SWAT:development https://isrhub.usurf.usu.edu/SWAT/SWATFramework/pull/484 and the code review for "DockerIntegration" https://isrhub.usurf.usu.edu/cbell/SWATFramework/pull/33
these lines https://isrhub.usurf.usu.edu/SWAT/SWATFramework/blob/9926122629e4ce7fdbc4b111c5a756ec20fe78ca/SwatCore/MicroserviceController/MSContainer.cs#L51-L62 apparently do what they were going to attempt to use HOSTPWD
to do, in some way...
closing as "wontfix"
from Calvin Bell, 3 Oct 2023