mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
Refactor/maven (#889)
* mavenize * mavenization * mavenization * mavenization * mavenization * mavenization * mavenization * mavenization * mavenization * fix * app framework update * fix lib * lib * fix mavenized * fix mavenized * fix mavenized * fix mavenized * fix mavenized * fix mavenized * fix mavenized * fix mavenized * building for win and linux * Create run.bat * fixes for netlist * cleanup * unit tests * unit tests * configurable high dpi * performance upgrade * performance upgrade * rotate bug * Omit boards, wires, traces, terminals, etc from Spice netlist output * splash version update * optimize libs * optimize libs * updates * mac build maven * ruler optimization, moved images * cleanup * notarization * test workflow * build * Update pom.xml * Update pom.xml * Create README.md * Create test.yml * maven * build
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user