Dockerfile.armhf: upgrade python2 -> python3
- python2 no longer available in alpine 3.16 - ref. https://github.com/shaarli/Shaarli/issues/1048
This commit is contained in:
parent
db33cd79b5
commit
1da6caedfb
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
# - Build documentation
|
# - Build documentation
|
||||||
FROM arm32v6/alpine:3.16 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 py3-pip \
|
||||||
&& cd /usr/src/app/shaarli \
|
&& cd /usr/src/app/shaarli \
|
||||||
&& pip install --no-cache-dir mkdocs \
|
&& pip install --no-cache-dir mkdocs \
|
||||||
&& mkdocs build --clean
|
&& mkdocs build --clean
|
||||||
|
@ -20,7 +20,7 @@ RUN apk --update --no-cache add php8-curl php8-mbstring php8-simplexml composer
|
||||||
# - Frontend dependencies
|
# - Frontend dependencies
|
||||||
FROM arm32v6/alpine:3.16 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 python3 build-base \
|
||||||
&& cd /shaarli \
|
&& cd /shaarli \
|
||||||
&& yarnpkg install \
|
&& yarnpkg install \
|
||||||
&& yarnpkg run build \
|
&& yarnpkg run build \
|
||||||
|
|
Loading…
Reference in a new issue