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

Create docker-compose.yml example #14

Open
andy5995 opened this issue Feb 12, 2024 · 1 comment
Open

Create docker-compose.yml example #14

andy5995 opened this issue Feb 12, 2024 · 1 comment

Comments

@andy5995
Copy link
Owner

No description provided.

@andy5995
Copy link
Owner Author

I started on an example months ago but didn't get around yet to figuring out if it was great yet or not:

version: '3'

services:
  build-appimage:
    environment:
    - HOSTUID=$HOSTUID
    - HOST_SOURCE_ROOT=$HOST_SOURCE_ROOT
    container_name: linuxdeploy
    image: andy5995/linuxdeploy
    working_dir: /workspace
    command: packaging/appimage/pre-appimage.sh
    user: root
    volumes:
      - $HOST_SOURCE_ROOT:/workspace
    restart: "no"

I forgot why I have an '.env' file in the source root, which is used by docker-compose, and contains this line:

HOSTUID=1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant