Skip to content

Commit 07ba345

Browse files
authored
Merge pull request #106 from linuxserver/drizuid-patch-1
remove curl install/purge from Dockerfile
2 parents d88e223 + 85f57fe commit 07ba345

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ ENV MYSQL_DIR="/config"
1212
ENV DATADIR=$MYSQL_DIR/databases
1313

1414
RUN \
15-
echo "**** install build packages ****" && \
16-
apk add --no-cache --virtual=build-dependencies \
17-
curl && \
1815
echo "**** install runtime packages ****" && \
1916
if [ -z ${MARIADB_VERSION+x} ]; then \
2017
MARIADB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
@@ -28,8 +25,6 @@ RUN \
2825
mariadb-common==${MARIADB_VERSION} \
2926
mariadb-server-utils==${MARIADB_VERSION} && \
3027
echo "**** cleanup ****" && \
31-
apk del --purge \
32-
build-dependencies && \
3328
rm -rf \
3429
/root/.cache \
3530
/tmp/* && \

Dockerfile.aarch64

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ ENV MYSQL_DIR="/config"
1212
ENV DATADIR=$MYSQL_DIR/databases
1313

1414
RUN \
15-
echo "**** install build packages ****" && \
16-
apk add --no-cache --virtual=build-dependencies \
17-
curl && \
1815
echo "**** install runtime packages ****" && \
1916
if [ -z ${MARIADB_VERSION+x} ]; then \
2017
MARIADB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
@@ -28,8 +25,6 @@ RUN \
2825
mariadb-common==${MARIADB_VERSION} \
2926
mariadb-server-utils==${MARIADB_VERSION} && \
3027
echo "**** cleanup ****" && \
31-
apk del --purge \
32-
build-dependencies && \
3328
rm -rf \
3429
/root/.cache \
3530
/tmp/* && \

Dockerfile.armhf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ ENV MYSQL_DIR="/config"
1212
ENV DATADIR=$MYSQL_DIR/databases
1313

1414
RUN \
15-
echo "**** install build packages ****" && \
16-
apk add --no-cache --virtual=build-dependencies \
17-
curl && \
1815
echo "**** install runtime packages ****" && \
1916
if [ -z ${MARIADB_VERSION+x} ]; then \
2017
MARIADB_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
@@ -28,8 +25,6 @@ RUN \
2825
mariadb-common==${MARIADB_VERSION} \
2926
mariadb-server-utils==${MARIADB_VERSION} && \
3027
echo "**** cleanup ****" && \
31-
apk del --purge \
32-
build-dependencies && \
3328
rm -rf \
3429
/root/.cache \
3530
/tmp/* && \

0 commit comments

Comments
 (0)