Skip to content

Instantly share code, notes, and snippets.

View shagr4th's full-sized avatar

Arnaud Brochard shagr4th

View GitHub Profile
ARG UBUNTU_VERSION=24.04
ARG CUDA_VERSION=13.1.0
ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}
FROM ${BASE_CUDA_RUN_CONTAINER} AS build
RUN apt-get update && apt-get install -y curl sox && \
curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg && \
install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg && \
@shagr4th
shagr4th / taskfile.yml
Created October 26, 2023 20:42
task for wails3 universal macos app
package-universal-darwin:
summary: Packages a production build of the application into an universal `.app` bundle
platform: darwin
cmds:
- task: pre-build
- task: build-frontend
- GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -tags production -a -ldflags="-w -s" -o bin/{{.APP_NAME}}_amd64
- GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -tags production -a -ldflags="-w -s" -o bin/{{.APP_NAME}}_arm64
- task: post-build
- task: generate-icons