Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit ce5fd05

Browse files
committed
Added devbox
1 parent 5f8f2ce commit ce5fd05

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

renovate.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,17 @@
10901090
"* 21 * * *"
10911091
]
10921092
},
1093+
{
1094+
"matchFiles": [
1095+
"^tools/devbox/manifest.yaml$"
1096+
],
1097+
"matchPackageNames": [
1098+
"jetpack-io/devbox"
1099+
],
1100+
"schedule": [
1101+
"* 10,20 * * *"
1102+
]
1103+
},
10931104
{
10941105
"matchFiles": [
10951106
"^tools/devcontainer/manifest.yaml$"
@@ -6720,6 +6731,16 @@
67206731
"version: \"?(?<currentValue>.*?)\"?\\n"
67216732
]
67226733
},
6734+
{
6735+
"datasourceTemplate": "github-releases",
6736+
"depNameTemplate": "jetpack-io/devbox",
6737+
"fileMatch": [
6738+
"^tools/devbox/manifest.yaml$"
6739+
],
6740+
"matchStrings": [
6741+
"version: \"?(?<currentValue>.*?)\"?\\n"
6742+
]
6743+
},
67236744
{
67246745
"datasourceTemplate": "github-tags",
67256746
"depNameTemplate": "devcontainers/cli",

tools/devbox/Dockerfile.template

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
curl --silent --location --fail "https://github.com/jetpack-io/devbox/releases/download/${version}/devbox_${version}_linux_${alt_arch}.tar.gz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner
11+
12+
"${prefix}${target}/bin/devbox" completion bash >"${prefix}${target}/share/bash-completion/completions/devbox"
13+
"${prefix}${target}/bin/devbox" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/devbox.fish"
14+
"${prefix}${target}/bin/devbox" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_devbox"
15+
EOF

tools/devbox/manifest.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: devbox
2+
version: "0.5.4"
3+
check: ${binary} version
4+
platforms:
5+
- linux/amd64
6+
- linux/arm64
7+
tags:
8+
- category/development
9+
- lang/go
10+
- type/cli
11+
homepage: https://github.com/jetpack-io/devbox
12+
description: Instant, easy, and predictable development environments
13+
renovate:
14+
datasource: github-releases
15+
package: jetpack-io/devbox
16+
priority: medium

0 commit comments

Comments
 (0)