Installation
macOS
wget https://github.com/busyloop/envcat/releases/download/v1.1.1/envcat-1.1.1.darwin-x86_64
chmod +x envcat-1.1.1.darwin-x86_64
sudo mv envcat-1.1.1.darwin-x86_64 /usr/local/bin/envcat
sudo ln -sf /usr/local/bin/envcat /usr/local/bin/envtpl
Linux
wget https://github.com/busyloop/envcat/releases/download/v1.1.1/envcat-1.1.1.linux-x86_64
chmod +x envcat-1.1.1.linux-x86_64
sudo mv envcat-1.1.1.linux-x86_64 /usr/bin/envcat
sudo ln -sf /usr/bin/envcat /usr/bin/envtpl
Dockerfile 🐳
linux-x86_64
# Install envcat (linux-x86_64)
ARG envcat_version=1.1.1
ARG envcat_sha256=a4c5de7b96e83e832f973282f739c6bccf5a95dc68719dc4b717f7e12bc50f48
ADD --checksum=sha256:${envcat_sha256} https://github.com/busyloop/envcat/releases/download/v${envcat_version}/envcat-${envcat_version}.linux-x86_64 /envcat
RUN chmod +x /envcat
linux-aarch64
# Install envcat (linux-aarch64)
ARG envcat_version=1.1.1
ARG envcat_sha256=eb1597655d420a4b35d2f96baaf2eb62e6a5dee7df90e304ff21bec98371178e
ADD --checksum=sha256:${envcat_sha256} https://github.com/busyloop/envcat/releases/download/v${envcat_version}/envcat-${envcat_version}.linux-aarch64 /envcat
RUN chmod +x /envcat