Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Cloudron Package Template

Scheduled Pinned Locked Moved App Packaging & Development
6 Posts 4 Posters 59 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes App Dev
    wrote on last edited by Kubernetes
    #1

    Hi there,

    as I did some initial packages in the last time, I started to use some kind of (still basic) template to kick off.

    I think it is worth to share:
    Gitlab Repo

    Best,
    Mike

    1 Reply Last reply
    2
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    wrote on last edited by
    #2

    Does this ADD https://REPOURL/v${VERSION}/PACKAGE /app/code actually work as expected???

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~
    Matrix: @murgero:urgero.org

    1 Reply Last reply
    0
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes App Dev
    wrote on last edited by Kubernetes
    #3

    Yes, it does. Of course it requires that the VERSION needs to be specified in the ARGS in the beginning of the Dockerfile.

    Update: Maybe worth to mention, that the URL needs to be adapted to the real use case. Sometimes the zip files are something like v2.0.6.tar.gz, sometimes it's just 2.0.6.tar.gz....

    Update 2: And sometimes it feels "better" to use RUN curl -L URL instead of ADD... So there might be some need to mention different options in the template 🙂

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #4

    Ah very nice, and thanks for sharing that! Seems like a good way to get started. cloudron init tries to do something similar, that can be improved as well.

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #5

    cloudron init --appstore generates some stuff as well 🙂 that template comes from this template

    KubernetesK 1 Reply Last reply
    2
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes App Dev
    replied to girish on last edited by
    #6

    @girish Ah, great, I didn't use init before, as I usually first want to understand how things work, before using the boilerplate. It's a pleasure to see that my templates are very close to the init one 😎

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.