Skip to content

Commit

Permalink
Small fixes and getting ready to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Luk164 committed Jun 18, 2022
1 parent c84d77c commit 03a87dd
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Example devcontainer for add-on repositories",
"image": "ghcr.io/home-assistant/devcontainer:addons",
"appPort": ["7123:8123", "7357:4357"],
"postStartCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"extensions": ["timonwong.shellcheck", "esbenp.prettier-vscode"],
"mounts": [ "type=volume,target=/var/lib/docker" ],
"settings": {
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}

20 changes: 20 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Home Assistant",
"type": "shell",
"command": "supervisor_run",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}

4 changes: 2 additions & 2 deletions cups/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apt-get update \
lsb-release \
nano \
samba \
bash-autocompletion \
bash-completion \
&& echo "deb http://nginx.org/packages/debian `lsb_release -cs` nginx" \
| tee /etc/apt/sources.list.d/nginx.list \
&& curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - \
Expand All @@ -32,6 +32,6 @@ RUN apt-get update \

COPY rootfs /

EXPOSE 631 445
EXPOSE 631 445 137 139

CMD ["/run.sh"]
2 changes: 1 addition & 1 deletion cups/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CUPS Print Server",
"version": "1.0.0-alpha.26",
"version": "1.0.0-alpha.25",
"slug": "cups",
"description": "A CUPS print server with Avahi installed",
"url": "https://github.com/Luk164/addon-repository",
Expand Down

0 comments on commit 03a87dd

Please sign in to comment.