-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (25 loc) · 992 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM europe-docker.pkg.dev/flownative/docker/base:bullseye
LABEL org.opencontainers.image.authors="Robert Lemke <[email protected]>"
LABEL org.label-schema.name="Beach Redis"
LABEL org.label-schema.description="Docker image providing Redis for Beach instances"
LABEL org.label-schema.vendor="Flownative GmbH"
# -----------------------------------------------------------------------------
# Redis
# Latest versions: https://packages.debian.org/bullseye/redis-server
ENV FLOWNATIVE_LIB_PATH=/opt/flownative/lib \
REDIS_VERSION="5:6.0.16-1+deb11u2" \
REDIS_BASE_PATH=/opt/flownative/redis \
PATH="/opt/flownative/redis/bin:$PATH" \
LOG_DEBUG=false
USER root
COPY --from=europe-docker.pkg.dev/flownative/docker/bash-library:1 /lib $FLOWNATIVE_LIB_PATH
RUN install_packages \
ca-certificates \
redis-server=${REDIS_VERSION} \
redis-tools=${REDIS_VERSION}
COPY root-files /
RUN /build.sh
EXPOSE 6379
USER 1000
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "run" ]