Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added decktape #5562

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -1514,6 +1514,17 @@
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"customType": "regex",
"datasourceTemplate": "npm",
"depNameTemplate": "decktape",
"fileMatch": [
"^tools/decktape/manifest.yaml$"
],
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
Expand Down
21 changes: 21 additions & 0 deletions tools/decktape/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#syntax=docker/dockerfile:1.8.1

FROM ghcr.io/uniget-org/tools/nodejs:latest AS nodejs
FROM ghcr.io/uniget-org/tools/npm:latest AS npm

FROM ghcr.io/uniget-org/images/ubuntu:24.04 AS prepare
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
COPY --link --from=nodejs / /usr/local/
COPY --link --from=npm / /usr/local/
WORKDIR /uniget_bootstrap/libexec/decktape
ARG name
ARG version
RUN <<EOF
npm install \
--omit=dev \
"decktape@${version}"
ln --symbolic --relative --force "${prefix}/libexec/decktape/node_modules/.bin/decktape" "${prefix}/bin/"
EOF
23 changes: 23 additions & 0 deletions tools/decktape/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# yaml-language-server: $schema=https://tools.uniget.dev/schema.yaml
$schema: https://tools.uniget.dev/schema.yaml
name: decktape
version: "3.12.0"
check: ${binary} version
build_dependencies:
- nodejs
- npm
runtime_dependencies:
- nodejs
platforms:
- linux/amd64
- linux/arm64
tags:
- category/development
- lang/javascript
- type/cli
homepage: https://github.com/astefanutti/decktape
description: PDF exporter for HTML presentations
renovate:
datasource: npm
package: decktape
priority: low
Loading