Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions docker/ubuntu_wxgui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04@sha256:09506232a8004baa32c47d68f1e5c307d648fdd59f5e7eaa42aaf87914100db3
FROM ubuntu:24.04@sha256:66460d557b25769b102175144d538d88219c077c678a49af4afca6fbfc1b5252

LABEL authors="Carmen Tawalika,Markus Neteler,Anika Weinmann,Tomas Zigo"
LABEL maintainer="[email protected],[email protected],[email protected]"
Expand Down Expand Up @@ -47,7 +47,7 @@
libcurl4-gnutls-dev \
libfftw3-bin \
libfftw3-dev \
libfreetype6-dev \
libfreetype-dev \
libgdal-dev \
libgeos-dev \
libgl1-mesa-dev \
Expand All @@ -57,11 +57,11 @@
libgtk-3-dev \
libjpeg-dev \
libjsoncpp-dev \
libncurses5-dev \
libncurses-dev \
libnetcdf-dev \
libnotify4 \
libopenblas-base \
libopenblas-dev \
libopenblas0 \
libopenjp2-7 \
libopenjp2-7-dev \
libpnglite-dev \
Expand All @@ -70,8 +70,8 @@
libpython3-all-dev \
libreadline-dev \
librsvg2-common \
libsecret-1-0 \
libsdl2-2.0-0 \
libsecret-1-0 \
libsqlite3-dev \
libtiff-dev \
libxtst6 \
Expand Down Expand Up @@ -106,9 +106,9 @@
&& apt-get clean all && rm -rf /var/lib/apt/lists/*

# wxGUI
RUN pip install -U \
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 \
wxPython \
RUN pip install -U --break-system-packages \
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04 \
wxpython \
&& pip cache purge
# If you do not use any Gnome Accessibility features, to suppress warning
# WARNING **: Couldn't connect to accessibility bus:
Expand Down Expand Up @@ -182,7 +182,7 @@
ENV LD_LIBRARY_PATH="/usr/local/lib"
ENV LDFLAGS="$MYLDFLAGS"
ENV CFLAGS="$MYCFLAGS"
ENV CXXFLAGS="$MYCXXFLAGS"

Check warning on line 185 in docker/ubuntu_wxgui/Dockerfile

View workflow job for this annotation

GitHub Actions / ubuntu_wxgui

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$MYCXXFLAGS' (did you mean $MYCFLAGS?) More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

# Configure compile and install GRASS
# wxGUI require
Expand Down Expand Up @@ -241,15 +241,14 @@
python --version

# Reduce the image size
RUN apt-get autoremove -y
RUN apt-get clean -y
RUN apt-get autoremove -y && apt-get clean -y
RUN rm -r /src/grass_build/.git

WORKDIR /scripts

# enable GRASS Python session support
## grass --config python-path
ENV PYTHONPATH="/usr/local/grass/etc/python:${PYTHONPATH}"

Check warning on line 251 in docker/ubuntu_wxgui/Dockerfile

View workflow job for this annotation

GitHub Actions / ubuntu_wxgui

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PYTHONPATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
# enable GRASS ctypes imports
## grass --config path
ENV LD_LIBRARY_PATH="/usr/local/grass/lib:$LD_LIBRARY_PATH"
Expand Down
Loading