Skip to content

Commit

Permalink
update images
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeimonakhov committed Oct 16, 2023
1 parent 5f65f1f commit 36fcb35
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions images/keras/cuda11-8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG INTERPRETER
ARG INTERPRETER_VERSION

LABEL [email protected] \
vendor=puzl.ee
vendor=https://puzl.cloud

ENV USER=ubuntu \
UID=1000 \
Expand All @@ -16,8 +16,10 @@ ENV DEBIAN_FRONTEND="noninteractive"

SHELL ["/bin/bash", "-c"]

RUN rm -rf /usr/bin/python3 \
/usr/bin/python \
RUN apt-get purge -y python3.11 \
&& apt-get autoremove \
&& rm -rf /usr/bin/python3 \
/usr/bin/python \
&& ln -s /usr/bin/python3.10 /usr/bin/python3 \
&& ln -s /usr/bin/python3 /usr/bin/python

Expand Down
2 changes: 1 addition & 1 deletion template/dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM {{ image }}:{{ tag }}

{%- macro label() -%}
LABEL [email protected] \
vendor=puzl.ee
vendor=https://puzl.cloud
{% endmacro %}

{%- macro arg(arg) -%}
Expand Down
6 changes: 4 additions & 2 deletions template/required.j2
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ RUN rm -rf \
{% endmacro %}

{%- macro fix_python_version() -%}
RUN rm -rf /usr/bin/python3 \
/usr/bin/python \
RUN apt-get purge -y python3.11 \
&& apt-get autoremove \
&& rm -rf /usr/bin/python3 \
/usr/bin/python \
&& ln -s /usr/bin/python3.10 /usr/bin/python3 \
&& ln -s /usr/bin/python3 /usr/bin/python
{% endmacro %}
Expand Down

0 comments on commit 36fcb35

Please sign in to comment.