Skip to content

Commit 54a5525

Browse files
committed
fix(docker): Alpine repositories
1 parent fe4ddd8 commit 54a5525

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
ARG ALPINE=3.20
22
FROM alpine:${ALPINE}
3-
ENV ALPINE=$ALPINE
43

54
ARG PHP
65
ENV PHP_VERSION=$PHP
@@ -12,8 +11,7 @@ ARG WITHOUT_WATCHR
1211
ENV WITHOUT_WATCHR=$WITHOUT_WATCHR
1312

1413
COPY rootfs /
15-
RUN sed -i "s/latest-stable/v${ALPINE}/g" /etc/apk/repositories && \
16-
apk update && apk upgrade && apk add --no-cache \
14+
RUN apk update && apk upgrade && apk add --no-cache \
1715
git \
1816
docker-cli \
1917
php${PHP}-cli \

rootfs/etc/apk/repositories

-4
This file was deleted.

0 commit comments

Comments
 (0)