Skip to content

Commit

Permalink
Add GH token and bugfix useradd
Browse files Browse the repository at this point in the history
  • Loading branch information
shauneccles committed Mar 6, 2021
1 parent d9983bc commit bc3a910
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ jobs:
- uses: actions/checkout@v2
- name: Super-Linter
uses: github/[email protected]
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions Dockerfile-4stage
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ FROM venv-image AS dist-image
COPY --from=build-image /ledfx/venv /ledfx/venv
ENV PATH="/ledfx/venv/bin:$PATH"

RUN rm -rf /var/lib/apt/lists/* \
useradd --create-home ledfx --groups audio
RUN rm -rf /var/lib/apt/lists/*
RUN useradd --create-home ledfx --groups audio
WORKDIR /home/ledfx
USER ledfx

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-armv7
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ FROM venv-image AS dist-image
COPY --from=build-image /ledfx/venv /ledfx/venv
ENV PATH="/ledfx/venv/bin:$PATH"
RUN rm -rf /var/lib/apt/lists/*
# useradd --create-home ledfx --groups audio
# useradd --create-home ledfx --groups audio
# Set the working directory in the container
# WORKDIR /home/ledfx
# USER ledfx
Expand Down

0 comments on commit bc3a910

Please sign in to comment.