Skip to content

Commit

Permalink
build: add rsync & tar to missing images
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Dec 16, 2024
1 parent cd9833b commit d9237ec
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 9 deletions.
2 changes: 2 additions & 0 deletions images/mongo/4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.9/community' >> /etc/apk/repos
RUN apk update \
&& apk add --no-cache \
mongodb=4.0.5-r0 \
rsync \
tar \
&& rm -rf /var/cache/apk/*

RUN mkdir -p /data/db /data/configdb && \
Expand Down
2 changes: 2 additions & 0 deletions images/mysql/8.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ RUN microdnf install -y epel-release \
gettext \
net-tools \
pwgen \
rsync \
tar \
wget; \
rm -rf /var/lib/mysql/* /etc/mysql/ /etc/my.cnf*; \
curl -sSL https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl -o mysqltuner.pl
Expand Down
2 changes: 2 additions & 0 deletions images/mysql/8.4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ RUN microdnf install -y epel-release \
gettext \
net-tools \
pwgen \
rsync \
tar \
wget; \
rm -rf /var/lib/mysql/* /etc/mysql/ /etc/my.cnf*; \
curl -sSL https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl -o mysqltuner.pl
Expand Down
2 changes: 0 additions & 2 deletions images/node-cli/18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/v3.19/main mari
patch \
postgresql-client \
procps \
rsync \
tar \
unzip \
&& rm -rf /var/cache/apk/* \
&& ln -s /usr/lib/ssh/sftp-server /usr/local/bin/sftp-server \
Expand Down
2 changes: 0 additions & 2 deletions images/node-cli/20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/v3.19/main mari
patch \
postgresql-client \
procps \
rsync \
tar \
unzip \
&& rm -rf /var/cache/apk/* \
&& ln -s /usr/lib/ssh/sftp-server /usr/local/bin/sftp-server \
Expand Down
2 changes: 0 additions & 2 deletions images/node-cli/22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/v3.19/main mari
patch \
postgresql-client \
procps \
rsync \
tar \
unzip \
&& rm -rf /var/cache/apk/* \
&& ln -s /usr/lib/ssh/sftp-server /usr/local/bin/sftp-server \
Expand Down
4 changes: 4 additions & 0 deletions images/node/18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ LABEL org.opencontainers.image.base.name="docker.io/node:18-alpine3.20"

ENV LAGOON=node

RUN apk add --no-cache \
rsync \
tar

# Copy commons files
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/wait-for /bin/
Expand Down
4 changes: 4 additions & 0 deletions images/node/20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ LABEL org.opencontainers.image.base.name="docker.io/node:20-alpine3.20"

ENV LAGOON=node

RUN apk add --no-cache \
rsync \
tar

# Copy commons files
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/wait-for /bin/
Expand Down
4 changes: 4 additions & 0 deletions images/node/22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ LABEL org.opencontainers.image.base.name="docker.io/node:22-alpine3.20"

ENV LAGOON=node

RUN apk add --no-cache \
rsync \
tar

# Copy commons files
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/wait-for /bin/
Expand Down
1 change: 0 additions & 1 deletion images/php-cli/8.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/v3.19/main mari
patch \
postgresql-client \
procps \
rsync \
unzip \
yarn \
&& rm -rf /var/cache/apk/* \
Expand Down
1 change: 0 additions & 1 deletion images/php-cli/8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/v3.19/main mari
patch \
postgresql-client \
procps \
rsync \
unzip \
yarn \
&& rm -rf /var/cache/apk/* \
Expand Down
1 change: 0 additions & 1 deletion images/php-cli/8.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/v3.19/main mari
patch \
postgresql-client \
procps \
rsync \
unzip \
yarn \
&& ln -s /usr/lib/ssh/sftp-server /usr/local/bin/sftp-server \
Expand Down
2 changes: 2 additions & 0 deletions images/php-fpm/8.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ RUN apk update \
libxslt \
libzip \
postgresql-libs \
rsync \
ssmtp \
tar \
tidyhtml \
unzip \
yaml \
Expand Down
2 changes: 2 additions & 0 deletions images/php-fpm/8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ RUN apk update \
libxslt \
libzip \
postgresql-libs \
rsync \
ssmtp \
tar \
tidyhtml \
unzip \
yaml \
Expand Down
2 changes: 2 additions & 0 deletions images/php-fpm/8.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ RUN apk update \
libxslt \
libzip \
postgresql-libs \
rsync \
ssmtp \
tar \
tidyhtml \
unzip \
yaml \
Expand Down
4 changes: 4 additions & 0 deletions images/rabbitmq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ LABEL org.opencontainers.image.base.name="docker.io/rabbitmq:3-management-alpine

ENV LAGOON=rabbitmq

RUN apk add --no-cache \
rsync \
tar

ENV RABBITMQ_DEFAULT_USER='guest' \
RABBITMQ_DEFAULT_PASS='guest'\
RABBITMQ_DEFAULT_HA_PATTERN='^$'\
Expand Down
4 changes: 4 additions & 0 deletions images/redis/6.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ ENV LAGOON=redis

ENV FLAVOR=ephemeral

RUN apk add --no-cache \
rsync \
tar

# Copy commons files
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/wait-for /bin/
Expand Down
4 changes: 4 additions & 0 deletions images/redis/7.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ ENV LAGOON=redis

ENV FLAVOR=ephemeral

RUN apk add --no-cache \
rsync \
tar

# Copy commons files
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/wait-for /bin/
Expand Down
2 changes: 2 additions & 0 deletions images/solr/9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ RUN apt-get -y update \
&& apt-get -y install \
busybox \
curl \
rsync \
tar \
zip \
&& rm -rf /var/lib/apt/lists/*

Expand Down
4 changes: 4 additions & 0 deletions images/valkey/8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ ENV LAGOON=valkey

ENV FLAVOR=ephemeral

RUN apk add --no-cache \
rsync \
tar

# Copy commons files
COPY --from=commons /lagoon /lagoon
COPY --from=commons /bin/fix-permissions /bin/ep /bin/docker-sleep /bin/wait-for /bin/
Expand Down

0 comments on commit d9237ec

Please sign in to comment.