Skip to content

Commit

Permalink
v0.6.4
Browse files Browse the repository at this point in the history
no root user
  • Loading branch information
SCHWMAX committed Dec 5, 2024
1 parent e801841 commit 9980443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions BaslerCameraAdapter.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 9980443

Please sign in to comment.