mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docker: Add dependencies to support oracle plugin in alpine (#20214)
* add dependencies to support oracle plugin in alpine * fix typo * add generated docker image for PR to artifacts to make testing easier * update path to artifact * debug path to artifact * debug path to artifact * debug path to artifact * fix ld.so.cache conflict * only add glibc-compat for x86_64 builds * do not store docker image in artifacts * fix missing fi
This commit is contained in:
parent
dcfc74ef00
commit
b63e4a9f52
@ -26,6 +26,21 @@ WORKDIR $GF_PATHS_HOME
|
||||
RUN apk add --no-cache ca-certificates bash tzdata && \
|
||||
apk add --no-cache --upgrade --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main openssl musl-utils
|
||||
|
||||
# Oracle Support for x86_64 only
|
||||
RUN if [ `arch` = "x86_64" ]; then \
|
||||
apk add --no-cache --upgrade --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community libaio libnsl && \
|
||||
ln -s /usr/lib/libnsl.so.2 /usr/lib/libnsl.so.1 && \
|
||||
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk \
|
||||
-O /tmp/glibc-2.30-r0.apk && \
|
||||
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-bin-2.30-r0.apk \
|
||||
-O /tmp/glibc-bin-2.30-r0.apk && \
|
||||
apk add --allow-untrusted /tmp/glibc-2.30-r0.apk /tmp/glibc-bin-2.30-r0.apk && \
|
||||
rm -f /tmp/glibc-2.30-r0.apk && \
|
||||
rm -f /tmp/glibc-bin-2.30-r0.apk && \
|
||||
rm -f /lib/ld-linux-x86-64.so.2 && \
|
||||
rm -f /etc/ld.so.cache; \
|
||||
fi
|
||||
|
||||
# PhantomJS
|
||||
RUN if [ `arch` = "x86_64" ]; then \
|
||||
apk add --no-cache --virtual phantomjs-utils curl && \
|
||||
|
Loading…
Reference in New Issue
Block a user