Skip to content

Commit

Permalink
Added decktape
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Jun 26, 2024
1 parent 974b17c commit 9425e9b
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
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

0 comments on commit 9425e9b

Please sign in to comment.