Skip to content

Commit

Permalink
feature: make qpc container compatible with toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-fs committed Jun 28, 2023
1 parent 4cb3212 commit 0ba845d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,21 @@ VOLUME ["/root/.local/share/qpc"]
COPY pyproject.toml poetry.lock ./
RUN microdnf update -y \
&& microdnf install -y \
coreutils-single \
git \
jq \
libcap \
make \
man-db \
man \
man-db \
openssh-clients \
passwd \
procps-ng \
python3.11 \
python3.11-pip \
shadow-utils \
tar \
util-linux \
which \
&& if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3.11 /usr/bin/python; fi \
&& if [[ ! -e /usr/bin/pip ]]; then ln -sf /usr/bin/pip3.11 /usr/bin/pip; fi \
Expand All @@ -46,4 +51,6 @@ COPY . .
# install the aplication itself
RUN poetry install -n --only main --sync

ENTRYPOINT ["deploy/docker_run.sh"]
LABEL com.github.containers.toolbox="true"
CMD ["deploy/docker_run.sh"]
ENTRYPOINT []

0 comments on commit 0ba845d

Please sign in to comment.