Skip to content

Commit

Permalink
Fix build failure in Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
thevindu-w committed May 26, 2024
1 parent 6f2696a commit f3deb19
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ RUN apt-get update && \
RUN apt-get install --no-install-recommends -y gcc make libc6-dev libx11-dev libxmu-dev libxcb-randr0-dev libpng-dev libssl-dev libunistring-dev

# Install test dependencies
RUN apt-get install --no-install-recommends -y openssl xclip python3.11-minimal diffutils findutils coreutils netcat-openbsd sed
RUN apt-get install --no-install-recommends -y openssl xclip python3-minimal diffutils findutils coreutils netcat-openbsd sed

RUN mkdir -p /debs
WORKDIR /debs
RUN apt-get download xvfb libunwind8 libgl1 libpixman-1-0 libxfont2 libglvnd0 libglx0 libfontenc1 libfreetype6 libbrotli1 xkb-data libxkbfile1 x11-xkb-utils && dpkg --force-depends -i ./*.deb 2>/dev/null
RUN apt-get clean -y

WORKDIR /usr/bin
RUN ln -s python3.11 python3

RUN useradd -mU -s /bin/bash user
USER user

Expand Down

0 comments on commit f3deb19

Please sign in to comment.