diff --git a/README.md b/README.md index f79a1239..4ba97b15 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ dss-sdk can be built with any of the below docker base images: Example build using Ubuntu 22 base image: ```bash -docker run -w /${PWD##*/} -i -t --rm -v "$(pwd)":/${PWD##*/} ubuntu:22.04 /bin/bash +docker run -w /dss-sdk -i -t --rm -v "$(pwd)":/dss-sdk ubuntu:22.04 /bin/bash ./scripts/dependencies/install.sh ./scripts/build_all.sh kdd-samsung-remote ``` @@ -93,7 +93,7 @@ docker build -t dss-sdk:ubuntu22-master -f scripts/docker/ubuntu22.DOCKERFILE . To build with the `dss-sdk:ubuntu22-master` image you have built, [as described above](#Create-a-dss-sdk-build-image-from-dockerfile): ```bash -docker run -w /${PWD##*/} -i -t --rm -v "$(pwd)":/${PWD##*/} dss-sdk:ubunu22-master ./scripts/build_all.sh kdd-samsung-remote +docker run -i -t --rm -v "$(pwd)":/dss-sdk dss-sdk:ubunu22-master ./scripts/build_all.sh kdd-samsung-remote ``` ## Contributing diff --git a/scripts/docker/centos7.DOCKERFILE b/scripts/docker/centos7.DOCKERFILE index 29f43c03..b1815c86 100644 --- a/scripts/docker/centos7.DOCKERFILE +++ b/scripts/docker/centos7.DOCKERFILE @@ -6,3 +6,4 @@ RUN set -eux \ && sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo \ && DOCKER=true /dependencies/install.sh \ && rm -rf /dependencies +WORKDIR /dss-sdk diff --git a/scripts/docker/rocky8.DOCKERFILE b/scripts/docker/rocky8.DOCKERFILE index 5a35a9e1..ed49a163 100644 --- a/scripts/docker/rocky8.DOCKERFILE +++ b/scripts/docker/rocky8.DOCKERFILE @@ -4,3 +4,4 @@ ADD scripts/dependencies /dependencies RUN set -eux \ && DOCKER=true /dependencies/install.sh \ && rm -rf /dependencies +WORKDIR /dss-sdk diff --git a/scripts/docker/rocky9.DOCKERFILE b/scripts/docker/rocky9.DOCKERFILE index 39411989..5958e087 100644 --- a/scripts/docker/rocky9.DOCKERFILE +++ b/scripts/docker/rocky9.DOCKERFILE @@ -4,3 +4,4 @@ ADD scripts/dependencies /dependencies RUN set -eux \ && DOCKER=true /dependencies/install.sh \ && rm -rf /dependencies +WORKDIR /dss-sdk diff --git a/scripts/docker/ubuntu22.DOCKERFILE b/scripts/docker/ubuntu22.DOCKERFILE index 0caa44ad..387a3ca6 100644 --- a/scripts/docker/ubuntu22.DOCKERFILE +++ b/scripts/docker/ubuntu22.DOCKERFILE @@ -4,3 +4,4 @@ ADD scripts/dependencies /dependencies RUN set -eux \ && DOCKER=true /dependencies/install.sh \ && rm -rf /dependencies +WORKDIR /dss-sdk