Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ ARG home
# create group and user to match permmisions of current who runs the build
ARG workdir
WORKDIR ${workdir}
RUN groupmod -g 64 dialout \
&& addgroup -S -g "${group_id}" union \
&& groupmod -g 2999 ping \
&& mkdir -p "${home}" \
&& adduser -S -u "${user_id}" -h "${home}" -s "/bin/bash" -G union builder
RUN groupmod -g 64 dialout &&
addgroup -S -g "${group_id}" union &&
groupmod -g 2999 ping &&
mkdir -p "${home}" &&
adduser -S -u "${user_id}" -h "${home}" -s "/bin/bash" -G union builder
# Add pip and build requirements
RUN apk add --no-cache \
bash \
curl \
docker \
gcc \
git \
libc-dev \
make
bash \
curl \
docker \
gcc \
git \
libc-dev \
make
COPY --chown=builder:union requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt --require-hashes
USER builder
Expand All @@ -35,4 +35,4 @@ RUN pipenv --python "$(which python)" install --no-cache-dir --ignore-pipfile --
ENTRYPOINT ["/usr/local/bin/pipenv"]

FROM mvdan/shfmt@sha256:caa0324bdba08f42452a19e6a8462dda9852a1e43ad16185ec3d1ad66524a504 AS shfmt
ENTRYPOINT ["/bin/shfmt"]
ENTRYPOINT ["/bin/shfmt"]
Loading