Skip to content
Snippets Groups Projects
Unverified Commit a167d8e3 authored by Ugur Yilmaz's avatar Ugur Yilmaz
Browse files

ST-1398: Fix PATH for itango

parent 26856d31
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ COPY pip.conf /etc/pip.conf ...@@ -54,7 +54,7 @@ COPY pip.conf /etc/pip.conf
RUN ln -sfn /usr/bin/python3 /usr/bin/python && ln -sfn /opt/poetry/bin/poetry /usr/local/bin/poetry RUN ln -sfn /usr/bin/python3 /usr/bin/python && ln -sfn /opt/poetry/bin/poetry /usr/local/bin/poetry
USER tango USER tango
ENV PATH="home/tango/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${PATH}" ENV PATH="/home/tango/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${PATH}"
ONBUILD COPY --chown=tango:tango . /app ONBUILD COPY --chown=tango:tango . /app
ONBUILD COPY --from=buildenv /usr/local/bin/ /usr/local/bin/ ONBUILD COPY --from=buildenv /usr/local/bin/ /usr/local/bin/
......
...@@ -23,6 +23,4 @@ RUN python3 -m pip install --no-cache-dir ipython==8.5.0 itango==0.1.9 ...@@ -23,6 +23,4 @@ RUN python3 -m pip install --no-cache-dir ipython==8.5.0 itango==0.1.9
# create ipython profile to so that itango doesn't fail if ipython hasn't run yet # create ipython profile to so that itango doesn't fail if ipython hasn't run yet
RUN ipython profile create RUN ipython profile create
RUN python3 -m pip install -r /requirements.txt
CMD ["itango3"] CMD ["itango3"]
...@@ -60,7 +60,7 @@ RUN apt-get update && apt-mark hold iptables && \ ...@@ -60,7 +60,7 @@ RUN apt-get update && apt-mark hold iptables && \
RUN sed -i 's%<property name="ThemeName" type="string" value="Xfce"/>%<property name="ThemeName" type="string" value="Raleigh"/>%' /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml RUN sed -i 's%<property name="ThemeName" type="string" value="Xfce"/>%<property name="ThemeName" type="string" value="Raleigh"/>%' /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
RUN apt-get update && apt-get install -y \ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \ git \
x11vnc \ x11vnc \
software-properties-common \ software-properties-common \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment