Compare commits

..

10 Commits

Author SHA1 Message Date
8c4d058937 Remove unnecessary installs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-10-09 17:12:23 -04:00
e769347ff6 Maybe this time
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-10-08 00:20:36 -04:00
600fe84c0f Maybe this time
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-10-08 00:15:57 -04:00
203dc85d51 Maybe this time
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-10-08 00:13:22 -04:00
691b7ff2da Maybe this time
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
2024-10-08 00:09:44 -04:00
71e9122109 Add readmes, change woodpecker yml
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-10-07 23:34:38 -04:00
b6b2950ded Maybe this time
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2024-10-07 22:58:39 -04:00
fa9206123a Maybe this time 2024-10-07 22:56:55 -04:00
354ef00b03 Fix Indentation 2024-10-07 22:48:44 -04:00
64eb60ca44 Muddler and Web Dockerfile for dev containers 2024-10-07 22:37:23 -04:00
8 changed files with 105 additions and 1 deletions

85
.woodpecker.yml Normal file
View File

@@ -0,0 +1,85 @@
steps:
- name: build-alpine-python
image: crazymax/docker
when:
- event: [ push, pull_request, tag, release ]
- path:
include: [ 'DockerImages/Alpine/Python/Dockerfile' ]
environment:
USERNAME:
from_secret: REGISTRY_USERNAME
TOKEN:
from_secret: DOCKER_TOKEN
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- cd Alpine/Python
- docker login -u $USERNAME -p $TOKEN git.vertinext.com
- docker build -t git.vertinext.com/roryejinn/alpine_python:latest .
- docker push git.vertinext.com/roryejinn/alpine_python:latest
- name: build-alpine-muddler
image: crazymax/docker
when:
- event: [ push, pull_request, tag, release ]
- path:
include: [ 'DockerImages/Alpine/Muddler/Dockerfile' ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
USERNAME:
from_secret: REGISTRY_USERNAME
TOKEN:
from_secret: DOCKER_TOKEN
commands:
- cd Alpine/Muddler
- docker login -u $USERNAME -p $TOKEN git.vertinext.com
- docker build -t git.vertinext.com/roryejinn/alpine_muddler:latest .
- docker push git.vertinext.com/roryejinn/alpine_muddler:latest
- name: build-alpine-web
image: crazymax/docker
when:
- event: [ push, pull_request, tag, release ]
- path:
include: [ 'DockerImages/Alphine/Web/Dockerfile' ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
USERNAME:
from_secret: REGISTRY_USERNAME
TOKEN:
from_secret: DOCKER_TOKEN
commands:
- cd Alpine/Web
- docker login -u $USERNAME -p $TOKEN git.vertinext.com
- docker build -t git.vertinext.com/roryejinn/alpine_web:latest .
- docker push git.vertinext.com/roryejinn/alpine_web:latest
- name: notify-on-failure
image: codeberg.org/l-x/woodpecker-ntfy
when:
- status: [ failure ]
settings:
url: https://gotify.vertinext.com/woodpecker
token:
from_secret: GOTIFY_TOKEN
title: ${CI} - ${CI_REPO_NAME}
actions: "http, Open Build, ${CI_PIPELINE_URL}, clear=true"
tags: warning
icon: https://woodpecker-ci.org/img/logo.svg
message: Failed to build docker images.
- name: notify-on-success
image: codeberg.org/l-x/woodpecker-ntfy
when:
- status: [ success ]
settings:
url: https://gotify.vertinext.com/woodpecker
token:
from_secret: GOTIFY_TOKEN
title: ${CI} - ${CI_REPO_NAME}
actions: "http, Open Build, ${CI_PIPELINE_URL}, clear=true"
tags: whale
icon: https://woodpecker-ci.org/img/logo.svg
message: Rebuilt docker images and pushed to image repository.

View File

@@ -0,0 +1,8 @@
# Image meant for use in CICD to generate mudlet package release from a muddle project
# Location of Jar: /muddle/muddle.jar
FROM alpine:latest
RUN apk add --no-cache openjdk21 wget tar git
RUN apk add --no-cache tea --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
RUN wget https://github.com/demonnic/muddler/releases/download/0.13/muddle-shadow-0.13.tar
RUN mkdir /muddle && tar -xvf muddle-shadow-0.13.tar && mv muddle-shadow-0.13/lib/muddle-0.13-all.jar muddle/muddle.jar

1
Alpine/Muddler/readme.md Normal file
View File

@@ -0,0 +1 @@
An alpine container that includes the Muddle mudlet package builder for building mudlet packages from muddle projects.

View File

@@ -1,4 +1,4 @@
# Barebones alpine release with uv and git for python projects
FROM alpine:latest FROM alpine:latest
RUN apk add --no-cache uv --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community RUN apk add --no-cache uv --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
RUN apk add --no-cache git bash go wget curl sudo shadow vim

1
Alpine/Python/readme.md Normal file
View File

@@ -0,0 +1 @@
An alpine devcontainer for developing python projects with UV from astral.sh

5
Alpine/Web/Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
# Alpine with nodejs and pnpm
FROM alpine:latest
RUN apk add --no-cache nodejs
RUN apk add --no-cache pnpm --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community

1
Alpine/Web/readme.md Normal file
View File

@@ -0,0 +1 @@
Lightweight alpine devcontainer for web projects based on nodejs and pnpm

3
readme.md Normal file
View File

@@ -0,0 +1,3 @@
Various personal docker images used for devcontainers on coder
Alpine - These images are based on alpine