mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 12:01:51 +01:00
20 lines
407 B
Docker
20 lines
407 B
Docker
ARG WP_VERSION=6.5.3
|
|
FROM scratch AS rootfs
|
|
|
|
# Install composer
|
|
COPY --from=composer:2.7 ["/usr/bin/composer", "/usr/local/bin/composer"]
|
|
|
|
|
|
|
|
ARG WP_VERSION
|
|
FROM ghcr.io/n0rthernl1ghts/wordpress:${WP_VERSION}
|
|
|
|
RUN set -eux \
|
|
&& apk add --update --no-cache exa file fish git less nano openssh-client rsync tree unzip wget
|
|
|
|
COPY --from=rootfs ["/", "/"]
|
|
|
|
|
|
WORKDIR "/workspace"
|
|
ENTRYPOINT ["/usr/bin/fish"]
|