Skip to content

Commit dc8d2bb

Browse files
authored
feat: add opencontainers labels (#157)
1 parent 7d5a214 commit dc8d2bb

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/workflows/docker-image-push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
env:
6060
PLATFORMS: linux/amd64,linux/arm64/v8,linux/arm/v7
6161
run: |
62-
set -euo pipefail
62+
set -euxo pipefail
6363
6464
VERSION="$(git describe --exact-match --tags HEAD)"
6565
TAG="$VERSION"
@@ -82,6 +82,7 @@ jobs:
8282
fi
8383
8484
docker buildx build \
85+
--label org.opencontainers.artifact.created="$(date --rfc-3339=seconds --utc)" \
8586
--push \
8687
--platform "${PLATFORMS}" \
8788
"${TAGS[@]}" \

Dockerfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
FROM node:lts-alpine
22

3+
ARG THELOUNGE_VERSION=4.4.0-pre.2
4+
5+
LABEL org.opencontainers.image.title "Official The Lounge image"
6+
LABEL org.opencontainers.image.description "Official Docker image for The Lounge, a modern web IRC client designed for self-hosting."
7+
LABEL org.opencontainers.image.authors "The Lounge #thelounge @irc.libera.chat"
8+
LABEL org.opencontainers.image.url "https://github.com/thelounge/thelounge-docker"
9+
LABEL org.opencontainers.image.source "https://github.com/thelounge/thelounge-docker"
10+
LABEL org.opencontainers.image.version "${THELOUNGE_VERSION}"
11+
LABEL org.opencontainers.image.licenses "MIT"
12+
313
ENV NODE_ENV production
414

515
ENV THELOUNGE_HOME "/var/opt/thelounge"
@@ -15,7 +25,6 @@ CMD ["thelounge", "start"]
1525
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
1626

1727
# Install thelounge.
18-
ARG THELOUNGE_VERSION=4.4.0-pre.2
1928
RUN apk --update --no-cache --virtual build-deps add python3 build-base git && \
2029
ln -sf python3 /usr/bin/python && \
2130
yarn --non-interactive --frozen-lockfile global add thelounge@${THELOUNGE_VERSION} && \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![The Lounge](https://raw.githubusercontent.com/thelounge/thelounge.github.io/master/assets/logos/logo/TL_Grey%26Yellow_Vertical_logotype_Transparent_Bg/TL_Grey%26Yellow_Vertical_logotype_Transparent_Bg.png)
22

3-
#### Docker container for The Lounge, modern web IRC client designed for self-hosting
3+
#### Docker image for The Lounge, a modern web IRC client designed for self-hosting
44

55
**[Website](https://thelounge.chat/)[Docs](https://thelounge.chat/docs)[Demo](https://demo.thelounge.chat/)**
66

0 commit comments

Comments
 (0)