Skip to content

Commit

Permalink
change repo behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxpeople committed Aug 9, 2024
1 parent 4d5cc53 commit 112f68b
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# Labels
LABEL org.opencontainers.image.authors="Thomas Deutsch <thomas@tuxpeople.org>"

# Repository pinning https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Repository_pinning
RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
echo "@edgecommunity http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories

COPY scripts/* /scripts/
COPY requirements.txt /requirements.txt

# hadolint ignore=DL3017,DL3018,DL3013
RUN chmod +x /scripts/* \
&& apk add --no-cache --update \
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
--repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing \
arping \
bash \
bash-completion \
Expand All @@ -31,22 +29,22 @@ RUN chmod +x /scripts/* \
ca-certificates \
coreutils \
curl \
dnsperf@testing \
dnsperf \
ethtool \
fio \
git \
hdparm \
htop \
ioping \
iozone@testing \
iozone \
iperf \
iperf3 \
iproute2 \
ipset \
iptables \
jq \
kmod \
kubectl@testing \
kubectl \
less \
lsof \
mariadb-client \
Expand All @@ -71,7 +69,7 @@ RUN chmod +x /scripts/* \
screen \
socat \
speedtest-cli \
sslscan@testing \
sslscan \
tcpdump \
tcptraceroute \
tmux \
Expand Down

0 comments on commit 112f68b

Please sign in to comment.