Skip to content

Instantly share code, notes, and snippets.

@corny
Last active February 13, 2025 23:58
Show Gist options
  • Save corny/4703e8682e368658a70576d35c2aaf7f to your computer and use it in GitHub Desktop.
Save corny/4703e8682e368658a70576d35c2aaf7f to your computer and use it in GitHub Desktop.
FROM --platform=linux/amd64 alpine:latest
RUN apk add --update \
7zip \
curl \
wine
ARG QAAC_VERSION=2.80
ENV WINEDEBUG=-all
WORKDIR /qaac
RUN curl -LO https://github.com/nu774/qaac/releases/download/v${QAAC_VERSION}/qaac_${QAAC_VERSION}.zip && \
7z e -y qaac_${QAAC_VERSION}.zip "qaac_${QAAC_VERSION}/x64/*.*" && \
rm -v *.zip
RUN cd /tmp && \
curl -O 'https://secure-appldnld.apple.com/itunes12/091-56359-20171213-EDF2198A-E039-11E7-9A9F-D21A1E4B8CED/iTunes64Setup.exe' && \
7z e -y iTunes64Setup.exe AppleApplicationSupport64.msi && \
7z e -y AppleApplicationSupport64.msi '*'.dll && \
for f in x64_AppleApplicationSupport_*; do mv ${f} ${f#x64_AppleApplicationSupport_}; done && \
mv *.dll /qaac/ && \
rm -v /tmp/*
ENTRYPOINT ["/usr/bin/wine64", "qaac64.exe"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment