Skip to content

Commit

Permalink
Dockerfile.armhf: upgrade python2 -> python3
Browse files Browse the repository at this point in the history
- python2 no longer available in alpine 3.16
- ref. #1048
  • Loading branch information
nodiscc committed Aug 11, 2022
1 parent 4c1dfde commit 40ae2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# - Build documentation
FROM arm32v6/alpine:3.16 as docs
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 \
&& pip install --no-cache-dir mkdocs \
&& mkdocs build --clean
Expand All @@ -20,7 +20,7 @@ RUN apk --update --no-cache add php8-curl php8-mbstring php8-simplexml composer
# - Frontend dependencies
FROM arm32v6/alpine:3.16 as node
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 \
&& yarnpkg install \
&& yarnpkg run build \
Expand Down

0 comments on commit 40ae2c1

Please sign in to comment.