I've compiled and built FreeCAD out of source using an ubuntu 22.04 docker container on an Ubuntu 22.04 machine.
I'm not sure where to start looking for potential resolutions. Any assistance is appreciated, thanks.
Build files
This is my docker-compose.yml file
Code: Select all
version: "3"
services:
app:
image: freecad-ubuntu
build: .
environment:
DISPLAY: ${DISPLAY}
GITLAB_REPOS: ${GITLAB_REPOS}
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- $GITLAB_REPOS/eliotkh12/freecad/:/builds
network_mode: host
volumes:
.X11-unix:
freecad:
Code: Select all
FROM ubuntu:rolling
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
ENV UTC=true
ENV ARC=false
COPY ubuntu.sh /tmp
COPY xauth_list /tmp # file that contains host x socket info (user@hostname:1 MIT-MAGIC-COOKIE-1 [32-character hexadecimal])
RUN apt-get update && \
apt-get upgrade --yes && \
sh /tmp/ubuntu.sh && \
mkdir /builds && \
touch ~/.Xauthority && \
xauth add $(cat /tmp/xauth_list)
WORKDIR /builds
VOLUME [ "/builds" ]
CMD [ "bash" ]