add missing resources

This commit is contained in:
2025-06-01 18:23:47 -07:00
parent 32c28679d1
commit c2e764ff62

View File

@ -283,6 +283,49 @@ image.params.image = "hello-world"
## ##
[[deployment]]
name = "backblaze-help"
tags = ["backblaze"]
[deployment.config]
server = "demo-server"
image.type = "Build"
image.params.build = "backblaze-cli"
redeploy_on_build = true
network = "none"
##
[[build]]
name = "backblaze-cli"
tags = ["backblaze"]
[build.config]
builder = "local"
version = "4.3.2"
auto_increment_version = false
links = [
"https://github.com/Backblaze/B2_Command_Line_Tool/releases"
]
dockerfile = """
FROM debian:bookworm-slim
WORKDIR /usr/local/bin
# Version arg is automatically populated by komodo build.
ARG VERSION
RUN apt-get update && \
apt-get install -y \
curl \
&& \
rm -rf /var/lib/apt/lists/* && \
curl -L --output b2 "https://github.com/Backblaze/B2_Command_Line_Tool/releases/download/v$VERSION/b2-linux" && \
chmod +x ./b2
CMD [ "b2", "--help" ]
"""
##
[[builder]] [[builder]]
name = "local" name = "local"
[builder.config] [builder.config]