Dockerfile/Dockerfile.armhf: update base alpine image to v3.16
- https://hub.docker.com/_/alpine - https://hub.docker.com/r/arm32v6/alpine/ - related https://github.com/shaarli/Shaarli/issues/1757 - related https://github.com/shaarli/Shaarli/issues/1855
This commit is contained in:
parent
40a26241de
commit
0abe2f0dcc
2 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ RUN cd shaarli \
|
||||||
|
|
||||||
# Stage 4:
|
# Stage 4:
|
||||||
# - Shaarli image
|
# - Shaarli image
|
||||||
FROM alpine:3.15
|
FROM alpine:3.16
|
||||||
LABEL maintainer="Shaarli Community"
|
LABEL maintainer="Shaarli Community"
|
||||||
|
|
||||||
RUN apk --update --no-cache add \
|
RUN apk --update --no-cache add \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Stage 1:
|
# Stage 1:
|
||||||
# - Copy Shaarli sources
|
# - Copy Shaarli sources
|
||||||
# - Build documentation
|
# - Build documentation
|
||||||
FROM arm32v6/alpine:3.10 as docs
|
FROM arm32v6/alpine:3.16 as docs
|
||||||
ADD . /usr/src/app/shaarli
|
ADD . /usr/src/app/shaarli
|
||||||
RUN apk --update --no-cache add py2-pip \
|
RUN apk --update --no-cache add py2-pip \
|
||||||
&& cd /usr/src/app/shaarli \
|
&& cd /usr/src/app/shaarli \
|
||||||
|
@ -10,7 +10,7 @@ RUN apk --update --no-cache add py2-pip \
|
||||||
|
|
||||||
# Stage 2:
|
# Stage 2:
|
||||||
# - Resolve PHP dependencies with Composer
|
# - Resolve PHP dependencies with Composer
|
||||||
FROM arm32v6/alpine:3.10 as composer
|
FROM arm32v6/alpine:3.16 as composer
|
||||||
COPY --from=docs /usr/src/app/shaarli /app/shaarli
|
COPY --from=docs /usr/src/app/shaarli /app/shaarli
|
||||||
RUN apk --update --no-cache add php7-curl php7-mbstring php7-simplexml composer \
|
RUN apk --update --no-cache add php7-curl php7-mbstring php7-simplexml composer \
|
||||||
&& cd /app/shaarli \
|
&& cd /app/shaarli \
|
||||||
|
@ -18,7 +18,7 @@ RUN apk --update --no-cache add php7-curl php7-mbstring php7-simplexml composer
|
||||||
|
|
||||||
# Stage 3:
|
# Stage 3:
|
||||||
# - Frontend dependencies
|
# - Frontend dependencies
|
||||||
FROM arm32v6/alpine:3.10 as node
|
FROM arm32v6/alpine:3.16 as node
|
||||||
COPY --from=composer /app/shaarli /shaarli
|
COPY --from=composer /app/shaarli /shaarli
|
||||||
RUN apk --update --no-cache add yarn nodejs-current python2 build-base \
|
RUN apk --update --no-cache add yarn nodejs-current python2 build-base \
|
||||||
&& cd /shaarli \
|
&& cd /shaarli \
|
||||||
|
@ -28,7 +28,7 @@ RUN apk --update --no-cache add yarn nodejs-current python2 build-base \
|
||||||
|
|
||||||
# Stage 4:
|
# Stage 4:
|
||||||
# - Shaarli image
|
# - Shaarli image
|
||||||
FROM arm32v6/alpine:3.10
|
FROM arm32v6/alpine:3.16
|
||||||
LABEL maintainer="Shaarli Community"
|
LABEL maintainer="Shaarli Community"
|
||||||
|
|
||||||
RUN apk --update --no-cache add \
|
RUN apk --update --no-cache add \
|
||||||
|
|
Loading…
Reference in a new issue