Skip to content

Commit

Permalink
Disable useradd logging filling sparsefile
Browse files Browse the repository at this point in the history
  • Loading branch information
shauneccles committed Mar 6, 2021
1 parent a68d232 commit 12ad061
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN pip install --no-cache-dir ledfx-dev

# Add user `ledfx` and create home folder
RUN useradd --create-home ledfx
RUN useradd -l --create-home ledfx
# Set the working directory in the container
WORKDIR /home/ledfx
USER ledfx
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-4stage
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ COPY --from=build-image /ledfx/venv /ledfx/venv
ENV PATH="/ledfx/venv/bin:$PATH"

RUN rm -rf /var/lib/apt/lists/*
RUN useradd --create-home ledfx --groups audio
RUN useradd -l --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 -l --create-home ledfx --groups audio
# Set the working directory in the container
# WORKDIR /home/ledfx
# USER ledfx
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY --from=ledfx-compile /ledfx/venv /ledfx/venv
RUN rm -rf /var/lib/apt/lists/*

# Add user `ledfx` and create home folder
RUN useradd --create-home ledfx
RUN useradd -l --create-home ledfx
# Set the working directory in the container
WORKDIR /home/ledfx
USER ledfx
Expand Down

0 comments on commit 12ad061

Please sign in to comment.