Files
diy-layout-creator/diylc/diylc-swing/appimage/Dockerfile
T
Bane Stojkovic b657a4d53f Feature/gerber (#881)
* gerber initial implementation

* added icon

* refactor actions

* add ground fill for gerber

* reorganize export actions

* fix gerber export of pcb text

* handle negative pcb text

* improve positioning of pcb text

* add board outline for gerber

* add support for other pad shapes

* handle 0 hole size

* added solder mask layer

* refactor gerber support to simplify components

* added silk screen support, some refactor

* libs

* fix mirroring

* outline support

* simplify layers

* Fix board alignment

* handle circular pads

* handle empty string

* update

* fixes

* add text to silk

* fix text tracing

* cleanup

* fix layer id

* optimize continuity calculations

* Solder pad - pth vs npth

* gerber fixes

* netlist improvement

* Update update.xml

* Pasting a building block sometimes messes up the z-order of components

* Pasting a building block sometimes switches selection to previously added components and canvas moves to the wrong position

* 'Highlight Continuity Areas' sometimes renders stale areas when clicked

* beta build

* fix builds

* appimage

* appimage

* appimage

* fix building from downloaded jre

* disable fractional metrics

* appimage

* Create build.zip

* bat for setup

* fix for high DPI monitors

* fixes

* scaling

* appimage

* 4.41 release

* cleanup

* Update org.eclipse.core.resources.prefs
2025-03-07 10:57:31 +01:00

40 lines
1.1 KiB
Docker

# Base Image
FROM ubuntu:22.04
# Set non-interactive mode for apt
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update && apt-get install -y \
wget \
fuse \
libfuse2 \
ca-certificates \
openjdk-17-jdk \
xz-utils \
tree \
file \
gpg \
&& rm -rf /var/lib/apt/lists/*
# Set Java Home
ENV JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"
ENV PATH="${JAVA_HOME}/bin:${PATH}"
# Download and install appimagetool
RUN wget -O /usr/local/bin/appimagetool https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage && \
chmod +x /usr/local/bin/appimagetool
RUN apt-get update && apt-get install -y appstream
# Set the working directory
WORKDIR /build
# Debugging and running AppImage build
CMD echo "DEBUG: Checking if appimagetool exists..." && \
ls -lh /usr/local/bin/appimagetool && \
echo "DEBUG: Listing /build/AppDir structure..." && \
tree /build/AppDir || ls -R /build/AppDir && \
echo "DEBUG: Running appimagetool..." && \
ARCH=x86_64 /usr/local/bin/appimagetool /build/AppDir /build/DIYLC-x86_64.AppImage