-
Notifications
You must be signed in to change notification settings - Fork 3.5k
/
Dockerfile
23 lines (16 loc) · 864 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM appsmith/base-ce:release
SHELL ["bash", "-eux", "-c"]
RUN <<END
version="$(basename "$(curl -sS --write-out '%{redirect_url}' 'https://github.com/Orange-OpenSource/hurl/releases/latest')")"
curl -sS --location "https://github.com/Orange-OpenSource/hurl/releases/download/$version/hurl-$version-$(uname -m)-unknown-linux-gnu.tar.gz" \
| tar xvz -C /tmp --strip-components 1
mv /tmp/hurl /bin
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
WORKDIR /code
ENTRYPOINT [ "bash", "entrypoint.sh" ]