Skip to content

Commit

Permalink
node-bootstrap-5.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Jun 27, 2024
1 parent b89aec4 commit 057ce6e
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node-bootstrap-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ${{ env.IMAGE_NAME }}/Dockerfile-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-bootstrap-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Sync README.md to DockerHub
uses: ms-jpq/sync-dockerhub-readme@v1
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/node-bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,35 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get version tag from env file
uses: c-py/action-dotenv-to-setenv@v2
uses: c-py/action-dotenv-to-setenv@v5
with:
env-file: ${{ env.IMAGE_NAME }}/version

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ${{ env.IMAGE_NAME }}/Dockerfile-${{ env.VERSION }}
Expand Down
15 changes: 15 additions & 0 deletions node-bootstrap/Dockerfile-5.3.3
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:22-alpine
EXPOSE 8850/tcp
WORKDIR /app

RUN npm install http-server -g && \
npm install [email protected] [email protected] [email protected] [email protected] [email protected]
RUN mv /app/node_modules/aceberg-bootswatch-fork /app/node_modules/bootswatch &&\
mkdir -p /app/icons &&\
apk add --no-cache bash

COPY node-bootstrap/download-fonts.sh /download-fonts.sh
RUN bash /download-fonts.sh /app/node_modules/bootswatch

ENTRYPOINT ["http-server"]
CMD ["--cors", "-p", "8850"]
23 changes: 16 additions & 7 deletions node-bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,23 @@
http-server hosting node modules for my projects locally

# Tags
[5.3.2-a](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2-a), [latest](https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2-a):
- [email protected]
- [email protected]
- [my fork](https://github.com/aceberg/aceberg-bootswatch-fork) of [email protected] (more themes) with google fonts
- [email protected]
- [email protected]

<a href="https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.3">5.3.3</a>, latest:
<li>[email protected]</li>
<li>[email protected]</li>
<li><a href="https://github.com/aceberg/aceberg-bootswatch-fork">my fork</a> of [email protected] (more themes) with google fonts</li>
<li>[email protected]</li>
<li>[email protected]</li>

<details>
<summary>Old tags</summary>
<a href="https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.0">5.3.2</a>:<br>
<a href="https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2-a">5.3.2-a</a>:<br>
<li>[email protected]</li>
<li>[email protected]</li>
<li><a href="https://github.com/aceberg/aceberg-bootswatch-fork">my fork</a> of [email protected] (more themes) with google fonts</li>
<li>[email protected]</li>
<li>[email protected]</li>
<a href="https://github.com/aceberg/my-dockerfiles/blob/main/node-bootstrap/Dockerfile-5.3.2">5.3.2</a>:<br>
<li>[email protected]</li>
<li>[email protected]</li>
<li>[email protected] with google fonts</li>
Expand All @@ -35,9 +42,11 @@ docker run --name node-bootstrap \
```

## Supported apps
- [ClickAHabit](https://github.com/aceberg/ClickAHabit)
- [ExerciseDiary](https://github.com/aceberg/ExerciseDiary)
- [miniboard](https://github.com/aceberg/miniboard)
- [WatchYourLAN](https://github.com/aceberg/WatchYourLAN)
- [WatchYourPorts](https://github.com/aceberg/WatchYourPorts)

## GitHub

Expand Down
2 changes: 1 addition & 1 deletion node-bootstrap/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=5.3.2-a
VERSION=5.3.3

0 comments on commit 057ce6e

Please sign in to comment.