Skip to content

Commit

Permalink
dash workaround not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdot-dev committed Jun 22, 2023
1 parent b829835 commit a0970da
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
FROM debian:unstable as builder
# "apt-mark hold dash" is a temporary workaround due to dash/0.5.12-2
# to dash/0.5.12-4 update which results in a dpkg failure (in dist-upgrade)
# hadolint ignore=DL3005,DL3008,DL3015,DL3009,SC2046
RUN sed -i 's/main/main non-free non-free-firmware contrib/' /etc/apt/sources.list.d/debian.sources && \
apt-get update && \
apt-mark hold dash && \
apt-get dist-upgrade -y && \
apt-get install ca-certificates git gcc make libssl-dev zlib1g-dev yasm \
$([ "$(dpkg --print-architecture)" = "armel" ] && echo pocl-opencl-icd pocl-opencl-icd ocl-icd-opencl-dev) \
Expand Down Expand Up @@ -39,7 +36,6 @@ LABEL org.opencontainers.image.authors="[email protected]"
# hadolint ignore=DL3005,DL3008,SC2046
RUN sed -i 's/main/main non-free non-free-firmware contrib/' /etc/apt/sources.list.d/debian.sources && \
apt-get update && \
apt-mark hold dash && \
apt-get dist-upgrade -y && \
apt-get install zlib1g libc6 libgmp10 libpcap0.8 libbz2-1.0 \
$([ "$(dpkg --print-architecture)" = "armel" ] && echo pocl-opencl-icd) \
Expand Down

0 comments on commit a0970da

Please sign in to comment.