Skip to content

Commit

Permalink
Bump alpine from 3.18.2 to 3.19.0
Browse files Browse the repository at this point in the history
Bumps alpine from 3.18.2 to 3.19.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and Erikvl87 committed Dec 8, 2023
1 parent 16b491e commit 7dba6b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WORKDIR /languagetool

# Note: When changing the base image, verify that the hunspell.sh workaround is
# downloading the matching version of `libhunspell`. The URL may need to change.
FROM alpine:3.18.2
FROM alpine:3.19.0

RUN apk add --no-cache \
bash \
Expand All @@ -60,9 +60,6 @@ RUN apk add --no-cache \
libstdc++ \
openjdk11-jre-headless

# https://github.com/Erikvl87/docker-languagetool/issues/60
RUN ln -s /lib64/ld-linux-x86-64.so.2 /lib/ld-linux-x86-64.so.2

RUN addgroup -S languagetool && adduser -S languagetool -G languagetool

COPY --chown=languagetool --from=build /dist .
Expand Down
4 changes: 2 additions & 2 deletions arm64-workaround/hunspell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ alias wget="wget --retry-connrefused --waitretry=30 --read-timeout=30 --timeout=
##############################
mkdir /hunspell
cd /hunspell
wget https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/libhunspell-1.7.2-r3.apk
tar --warning=no-unknown-keyword -xzf libhunspell-1.7.2-r3.apk
wget https://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/libhunspell-1.7.2-r4.apk
tar --warning=no-unknown-keyword -xzf libhunspell-1.7.2-r4.apk
mkdir -p /hunspell/org/bridj/lib/linux-aarch64/
mv /hunspell/usr/lib/libhunspell-1.7.so.0.0.1 /hunspell/org/bridj/lib/linux-aarch64/libhunspell.so
cd /hunspell/org/bridj/lib/
Expand Down

0 comments on commit 7dba6b8

Please sign in to comment.