diff --git a/.github/workflows/docker-image.yaml b/.github/workflows/docker-image.yaml index 1d1e6c4..61d90e0 100644 --- a/.github/workflows/docker-image.yaml +++ b/.github/workflows/docker-image.yaml @@ -31,7 +31,7 @@ jobs: sha$${{ github.sha }} sha$${{ env.SHORT_COMMIT }} date$${{ env.CURRENT_DATE }} - v0.6.4-root + v0.6.4 - name: Login to Docker Hub uses: docker/login-action@v3 diff --git a/BaslerCameraAdapter.Dockerfile b/BaslerCameraAdapter.Dockerfile index 7ba973f..4485900 100644 --- a/BaslerCameraAdapter.Dockerfile +++ b/BaslerCameraAdapter.Dockerfile @@ -18,7 +18,7 @@ RUN printf "deb https://deb.debian.org/debian bullseye main \ deb https://security.debian.org/debian-security bullseye-security main \ deb https://deb.debian.org/debian bullseye-updates main" > /etc/apt/sources.list # install libraries and command line tools -RUN apt-get update && apt-get install -y iputils-ping +#RUN apt-get update && apt-get install -y iputils-ping && apt-get clean # new default user RUN useradd -ms /bin/bash app @@ -45,7 +45,7 @@ COPY main.py \ # set to non-root user USER root RUN chown -R app:app /home/app -#USER app +USER app EXPOSE 5050