Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run error on jre8 image build on jeanblanchard/alpine-glibc #14

Open
cosmo-w opened this issue Aug 12, 2022 · 0 comments
Open

run error on jre8 image build on jeanblanchard/alpine-glibc #14

cosmo-w opened this issue Aug 12, 2022 · 0 comments

Comments

@cosmo-w
Copy link

cosmo-w commented Aug 12, 2022

I build jre8 image base on jeanblanchard/alpine-glibc
build success , but when i run it , there are error messages:
Error relocating /usr/java/jre1.8.0_251/lib/amd64/jli/libjli.so: __strdup: symbol not found
Error relocating /usr/java/jre1.8.0_251/lib/amd64/jli/libjli.so: __rawmemchr: symbol not found

this is my dockerfile

FROM jeanblanchard/alpine-glibc
WORKDIR /usr/java/jdk
ADD jre8.tar.gz /usr/java/
RUN apk add -U tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && rm -rf /var/cache/apk/*
ENV JAVA_HOME /usr/java/jre1.8.0_251
ENV PATH ${PATH}:${JAVA_HOME}/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant