Spaces:
Sleeping
Sleeping
Commit ·
2b3f8f8
1
Parent(s): 67400b4
Update docker file to contain libzbar0 as requirement
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -31,6 +31,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 31 |
openssh-client \
|
| 32 |
cargo \
|
| 33 |
musl-dev \
|
|
|
|
| 34 |
&& apt-get autoremove -y \
|
| 35 |
&& rm -rf /var/lib/apt/lists/* \
|
| 36 |
# github ssh key setting
|
|
@@ -84,6 +85,7 @@ RUN --mount=type=ssh apt-get update && apt-get install -y \
|
|
| 84 |
libffi8 \
|
| 85 |
libgl1 \
|
| 86 |
tini \
|
|
|
|
| 87 |
&& apt-get autoremove -y \
|
| 88 |
&& rm -rf /var/lib/apt/lists/* \
|
| 89 |
&& chmod a+x /docker-entrypoint.sh \
|
|
@@ -104,7 +106,7 @@ COPY . /app
|
|
| 104 |
WORKDIR /app
|
| 105 |
# Install dependencies from poetry lock
|
| 106 |
RUN --mount=type=ssh source /.venv/bin/activate \
|
| 107 |
-
&& apt-get update && apt-get install -y libgl1 \
|
| 108 |
&& export PIP_FIND_LINKS=http://172.17.0.1:3141/debian/ \
|
| 109 |
&& export PIP_TRUSTED_HOST=172.17.0.1 \
|
| 110 |
&& pip3 install nvidia-cublas-cu12 nvidia-cusparse-cu12 triton nvidia-nccl-cu12 nvidia-cudnn-cu12 nvidia-cufft-cu12 nvidia-cusolver-cu12 \
|
|
@@ -128,7 +130,7 @@ ENTRYPOINT ["/usr/bin/tini", "--", "docker/entrypoint-test.sh"]
|
|
| 128 |
# Development Container #
|
| 129 |
#########################
|
| 130 |
FROM development_build as development
|
| 131 |
-
RUN apt-get update && apt-get install -y zsh \
|
| 132 |
&& sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \
|
| 133 |
&& echo "if [ \"\$NO_WHEELHOUSE\" = \"1\" ]" >>/root/.profile \
|
| 134 |
&& echo "then" >>/root/.profile \
|
|
|
|
| 31 |
openssh-client \
|
| 32 |
cargo \
|
| 33 |
musl-dev \
|
| 34 |
+
libzbar0 \
|
| 35 |
&& apt-get autoremove -y \
|
| 36 |
&& rm -rf /var/lib/apt/lists/* \
|
| 37 |
# github ssh key setting
|
|
|
|
| 85 |
libffi8 \
|
| 86 |
libgl1 \
|
| 87 |
tini \
|
| 88 |
+
libzbar0 \
|
| 89 |
&& apt-get autoremove -y \
|
| 90 |
&& rm -rf /var/lib/apt/lists/* \
|
| 91 |
&& chmod a+x /docker-entrypoint.sh \
|
|
|
|
| 106 |
WORKDIR /app
|
| 107 |
# Install dependencies from poetry lock
|
| 108 |
RUN --mount=type=ssh source /.venv/bin/activate \
|
| 109 |
+
&& apt-get update && apt-get install -y libgl1 libzbar0 \
|
| 110 |
&& export PIP_FIND_LINKS=http://172.17.0.1:3141/debian/ \
|
| 111 |
&& export PIP_TRUSTED_HOST=172.17.0.1 \
|
| 112 |
&& pip3 install nvidia-cublas-cu12 nvidia-cusparse-cu12 triton nvidia-nccl-cu12 nvidia-cudnn-cu12 nvidia-cufft-cu12 nvidia-cusolver-cu12 \
|
|
|
|
| 130 |
# Development Container #
|
| 131 |
#########################
|
| 132 |
FROM development_build as development
|
| 133 |
+
RUN apt-get update && apt-get install -y zsh libzbar0 \
|
| 134 |
&& sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \
|
| 135 |
&& echo "if [ \"\$NO_WHEELHOUSE\" = \"1\" ]" >>/root/.profile \
|
| 136 |
&& echo "then" >>/root/.profile \
|