2024-04-18 08:33:10 +00:00
|
|
|
FROM appsmith/base-ce:release
|
2023-12-18 04:14:31 +00:00
|
|
|
|
2024-04-18 08:33:10 +00:00
|
|
|
SHELL ["bash", "-eux", "-c"]
|
|
|
|
|
|
|
|
|
|
RUN <<END
|
|
|
|
|
version="$(basename "$(curl -sS --write-out '%{redirect_url}' 'https://github.com/Orange-OpenSource/hurl/releases/latest')")"
|
2025-10-09 10:55:30 +00:00
|
|
|
arch="$(uname -m)"
|
|
|
|
|
curl -sS --location "https://github.com/Orange-OpenSource/hurl/releases/download/$version/hurl-$version-$arch-unknown-linux-gnu.tar.gz" \
|
|
|
|
|
| tar -xvz -C /bin --strip-components 2 "hurl-$version-$arch-unknown-linux-gnu/bin/hurl"
|
2024-04-18 08:33:10 +00:00
|
|
|
chmod +x /bin/hurl
|
|
|
|
|
|
|
|
|
|
version="$(basename "$(curl -sS --write-out '%{redirect_url}' 'https://github.com/FiloSottile/mkcert/releases/latest')")"
|
|
|
|
|
curl -sS --location "https://github.com/FiloSottile/mkcert/releases/download/$version/mkcert-$version-linux-$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')" \
|
|
|
|
|
-o /bin/mkcert
|
|
|
|
|
|
|
|
|
|
chmod +x /bin/mkcert
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
ENV PATH=/opt/caddy:/opt/node/bin:$PATH
|
2023-12-18 04:14:31 +00:00
|
|
|
|
|
|
|
|
WORKDIR /code
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT [ "bash", "entrypoint.sh" ]
|