Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quassel-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
quassel-docker
Commits
367f1e91
Verified
Commit
367f1e91
authored
6 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Added readme, multiarch builds
parent
200ed857
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.dockerignore
+2
-0
2 additions, 0 deletions
.dockerignore
Dockerfile
+14
-7
14 additions, 7 deletions
Dockerfile
Makefile
+30
-0
30 additions, 0 deletions
Makefile
README.md
+42
-0
42 additions, 0 deletions
README.md
with
88 additions
and
7 deletions
.dockerignore
0 → 100644
+
2
−
0
View file @
367f1e91
README.md
Makefile
This diff is collapsed.
Click to expand it.
Dockerfile
+
14
−
7
View file @
367f1e91
FROM
alpine:latest
AS
builder
ARG
BASE=alpine:latest
FROM
$BASE
AS
builder
RUN
apk add
--no-cache
\
RUN
apk add
--no-cache
\
cmake
\
cmake
\
...
@@ -9,8 +10,8 @@ RUN apk add --no-cache \
...
@@ -9,8 +10,8 @@ RUN apk add --no-cache \
git
\
git
\
icu-dev
\
icu-dev
\
icu-libs
\
icu-libs
\
libre
ssl
\
open
ssl
\
libre
ssl-dev
\
open
ssl-dev
\
openldap-dev
\
openldap-dev
\
make
\
make
\
paxmark
\
paxmark
\
...
@@ -38,13 +39,13 @@ RUN mkdir /quassel/build && \
...
@@ -38,13 +39,13 @@ RUN mkdir /quassel/build && \
RUN
cd
/quassel/build
&&
\
RUN
cd
/quassel/build
&&
\
make
&&
\
make
&&
\
make
install
&&
\
make
install
&&
\
paxmark
-m
/quassel/install/bin/quasselcore
paxmark
-m
/quassel/install/bin/quasselcore
FROM
alpine:latest
FROM
$BASE
RUN
apk add
--no-cache
\
RUN
apk add
--no-cache
\
icu-libs
\
icu-libs
\
libre
ssl
\
open
ssl
\
qt5-qtbase
\
qt5-qtbase
\
qt5-qtscript
\
qt5-qtscript
\
qt5-qtbase-postgresql
\
qt5-qtbase-postgresql
\
...
@@ -52,7 +53,13 @@ RUN apk add --no-cache \
...
@@ -52,7 +53,13 @@ RUN apk add --no-cache \
COPY
--from=builder /quassel/install/bin /usr/bin/
COPY
--from=builder /quassel/install/bin /usr/bin/
RUN
addgroup
-g
1000
-S
quassel
&&
\
adduser
-S
-G
quassel
-u
1000
-s
/bin/bash
-h
/quassel quassel
USER
quassel
VOLUME
/quassel/
EXPOSE
4242/tcp
EXPOSE
4242/tcp
EXPOSE
10113/tcp
ENV
DB_BACKEND="SQLite"
ENV
DB_BACKEND="SQLite"
ENV
AUTH_AUTHENTICATOR="Database"
ENV
AUTH_AUTHENTICATOR="Database"
...
@@ -69,4 +76,4 @@ ENV AUTH_LDAP_BASE_DN=""
...
@@ -69,4 +76,4 @@ ENV AUTH_LDAP_BASE_DN=""
ENV
AUTH_LDAP_FILTER=""
ENV
AUTH_LDAP_FILTER=""
ENV
AUTH_LDAP_UID_ATTRIBUTE="uid"
ENV
AUTH_LDAP_UID_ATTRIBUTE="uid"
ENTRYPOINT
["quasselcore", "--config-from-environment"]
ENTRYPOINT
["quasselcore",
"--configdir", "/quassel",
"--config-from-environment"]
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
30
−
0
View file @
367f1e91
NAME
=
k8r.eu/justjanne/quassel-docker
QUASSEL_VERSION
=
v0.13.1
ALPINE_VERSION
=
3.9
.PHONY
:
build
build
:
build_x86 build_arm64v8 build_arm32v6
.PHONY
:
build_x86
build_x86
:
Dockerfile
docker build
-t
$(
NAME
)
:
$(
QUASSEL_VERSION
)
--build-arg
BASE
=
alpine:
$(
ALPINE_VERSION
)
.
docker tag
$(
NAME
)
:
$(
QUASSEL_VERSION
)
$(
NAME
)
:latest
.PHONY
:
build_arm64v8
build_arm64v8
:
Dockerfile
docker build
-t
$(
NAME
)
:
$(
QUASSEL_VERSION
)
-arm64v8
--build-arg
BASE
=
multiarch/alpine:aarch64-v
$(
ALPINE_VERSION
)
.
docker tag
$(
NAME
)
:
$(
QUASSEL_VERSION
)
-arm64v8
$(
NAME
)
:arm64v8
.PHONY
:
build_arm32v6
build_arm32v6
:
Dockerfile
docker build
-t
$(
NAME
)
:
$(
QUASSEL_VERSION
)
-arm32v6
--build-arg
BASE
=
multiarch/alpine:armhf-v
$(
ALPINE_VERSION
)
.
docker tag
$(
NAME
)
:
$(
QUASSEL_VERSION
)
-arm32v6
$(
NAME
)
:arm32v6
.PHONY
:
push
push
:
push_x86 push_arm64v8 push_arm32v6
docker push
$(
NAME
)
:
$(
QUASSEL_VERSION
)
docker push
$(
NAME
)
:latest
docker push
$(
NAME
)
:
$(
QUASSEL_VERSION
)
-arm64v8
docker push
$(
NAME
)
:arm64v8
docker push
$(
NAME
)
:
$(
QUASSEL_VERSION
)
-arm32v6
docker push
$(
NAME
)
:arm32v6
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
42
−
0
View file @
367f1e91
# Dockerimage for Quasselcore
## Stateful usage (with UI Wizard)
To use Quassel statefully (which allows you to configure the core on first use)
run it with
`--entrypoint=/usr/bin/quasselcore`
and make sure to include
`--configdir /quassel`
as argument.
If you use the core in this mode, you’ll have to make sure
`/quassel`
is stored
on a volume.
## Stateless usage
By default, the core will be run in stateless mode, where it needs to be
configured through environment arguments.
`DB_BACKEND`
defines the backend used for the database, this can be
`SQLite`
or
`PostgreSQL`
. In case
`SQLite`
is used, the database will be stored in
`/root/.config/quassel-irc.org/quassel-storage.sqlite`
. If
`PostgreSQL`
is used
instead, these variables determine the connection details:
`DB_PGSQL_USERNAME`
,
`DB_PGSQL_PASSWORD`
,
`DB_PGSQL_HOSTNAME`
,
`DB_PGSQL_PORT`
,
`DB_PGSQL_DATABASE`
.
`AUTH_AUTHENTICATOR`
defines the backend used for authentication, this can be
`Database`
or
`LDAP`
. In case
`LDAP`
is used, the following environment
variables determine the connection details:
`AUTH_LDAP_HOSTNAME`
,
`AUTH_LDAP_PORT`
,
`AUTH_LDAP_BIND_DN`
,
`AUTH_LDAP_BIND_PASSWORD`
,
`AUTH_LDAP_BASE_DN`
,
`AUTH_LDAP_FILTER`
,
`AUTH_LDAP_UID_ATTRIBUTE`
.
## SSL
You can use the core with SSL, in this case you should either put a
`quasselCert.pem`
file with the full certificate chain and private key into
the
`/quassel`
volume, or you can use the
`--ssl-cert`
and
`--ssl-key`
arguments to use separate key and certificate.
## Ports
Per default, the container will listen on the port 4242 for connections.
This can be configured with
`--port`
and
`--listen`
.
If the
`--ident-daemon`
argument is passed, the ident daemon will additionally
listen on 10113. You can configure this with
`--ident-port`
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment