mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 14:47:46 -04:00
* chore: upgrade @getinsomnia/node-libcurl to 2.33.7 * chore: add arch into AppImage name template * chore: run release workflows on aarch64 linux runner * fix: also consider process.arch when determining insomnia binary path * fix: lift unprivileged userns restrictions for linux Ubuntu 24.04 introduced this new restriction so we just lift it for all Linux runners now to avoid confusion in the future. * chore: remove hardcoded platform in inso Dockerfile * chore: add architecture id into inso artifact name * feat: modify workflows to support multi-arch
20 lines
790 B
Docker
20 lines
790 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
# This Dockerfile is intended for CI use only
|
|
# It assumes inso-linux-VERSION.tar.xz exists in /packages/insomnia-inso/artifacts
|
|
# You can run `npm run inso-package && npm run inso-package:artifacts` on a linux host OR
|
|
# `curl -LO "https://github.com/Kong/insomnia/releases/download/lib%40<version>/inso-linux-<version>.tar.xz"`
|
|
|
|
FROM docker.io/ubuntu:22.04 AS fetch
|
|
|
|
COPY ./artifacts/inso-linux-*.tar.xz /tmp/inso.tar.xz
|
|
RUN apt-get update && apt-get install -y xz-utils && rm -rf /var/lib/apt/lists/*
|
|
RUN tar -C /usr/bin -xvf /tmp/inso.tar.xz
|
|
|
|
FROM docker.io/ubuntu:22.04
|
|
COPY --from=fetch /usr/bin/inso /usr/bin/inso
|
|
RUN chmod +x /usr/bin/inso
|
|
RUN apt-get update && apt-get install -y libstdc++6 && rm -rf /var/lib/apt/lists/*
|
|
|
|
ENTRYPOINT ["/usr/bin/inso"]
|