File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Dockerhub does not allow for setting of build args :/
2+ ARG IMAGE=openjdk:17-slim-bullseye
13FROM highcard/druidd-base:latest as base
2- FROM openjdk:17-slim-bullseye
4+ FROM $IMAGE
35WORKDIR /app
46
57RUN apt update
Original file line number Diff line number Diff line change 1+ #Dockerhub does not allow for setting of build args :/
2+ ARG IMAGE=openjdk:16-slim-bullseye
3+ FROM highcard/druidd-base:latest as base
4+ FROM $IMAGE
5+ WORKDIR /app
6+
7+ RUN apt update
8+ RUN apt install -y ca-certificates wget jq moreutils htop procps nano
9+ RUN wget https://github.com/mikefarah/yq/releases/download/v4.30.6/yq_linux_amd64 -O /usr/bin/yq
10+ RUN chmod +x /usr/bin/yq
11+
12+ #RUN wget "https://github.com/highcard-dev/druidd/releases/download/latest/druid_linux_386.deb" -O "druidd.deb"
13+ #RUN apt install ./druidd.deb
14+
15+ RUN useradd -ms /bin/bash druid
16+ USER druid
17+
18+ COPY --from=base /usr/bin/druid* /usr/bin
19+
20+ COPY --chown=druid:druid .docker/prepare-switch-scroll.sh /usr/bin/prepare-switch-scroll
21+ RUN chmod +x /usr/bin/prepare-switch-scroll
22+
23+ CMD "/app/druid"
24+ #ENTRYPOINT [ "/app/druid" ]
You can’t perform that action at this time.
0 commit comments