Skip to content

Commit

Permalink
Update alpine-linux to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Don Smyth committed Feb 26, 2019
1 parent 11c5edd commit 6d2b3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AlpineLinux for the raspberry pi 3, with glibc-2.23 and Oracle Java 8
# Based on https://github.com/anapsix/docker-alpine-java, for x86_64

FROM balenalib/raspberrypi3-alpine:3.6
FROM balenalib/raspberrypi3-alpine:3.8

MAINTAINER Don Smyth <dsmyth@signett.com>

Expand All @@ -20,7 +20,7 @@ ENV JAVA_VERSION_MAJOR=8 \
# do all in one step
RUN set -ex && \
apk upgrade --update && \
apk add --update libstdc++ curl ca-certificates bash && \
apk add --update libstdc++ curl ca-certificates bash gzip && \
for pkg in glibc-${GLIBC_VERSION} glibc-bin-${GLIBC_VERSION} glibc-i18n-${GLIBC_VERSION}; do curl -sSL https://github.com/armhf-docker-library/alpine-pkg-glibc/releases/download/${GLIBC_VERSION_MAJOR}/${pkg}.apk -o /tmp/${pkg}.apk; done && \
apk add --allow-untrusted /tmp/*.apk && \
rm -v /tmp/*.apk && \
Expand Down

0 comments on commit 6d2b3fa

Please sign in to comment.