mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
chore: docker: bundle bichonctl and bichon-admin into Docker image #136
This commit is contained in:
+9
-1
@@ -14,8 +14,16 @@ WORKDIR /opt/bichon
|
|||||||
# Copy compiled binary (ensure it's statically linked or compatible with bullseye)
|
# Copy compiled binary (ensure it's statically linked or compatible with bullseye)
|
||||||
COPY ${TARGETARCH}/bichon /opt/bichon/bichon
|
COPY ${TARGETARCH}/bichon /opt/bichon/bichon
|
||||||
COPY ${TARGETARCH}/LICENSE /opt/bichon/
|
COPY ${TARGETARCH}/LICENSE /opt/bichon/
|
||||||
# Set proper permissions
|
|
||||||
|
|
||||||
|
# cli tools
|
||||||
|
COPY ${TARGETARCH}/bichonctl /usr/local/bin/bichonctl
|
||||||
|
COPY ${TARGETARCH}/bichon-admin /usr/local/bin/bichon-admin
|
||||||
|
|
||||||
|
# Set permissions
|
||||||
RUN chmod +x /opt/bichon/bichon
|
RUN chmod +x /opt/bichon/bichon
|
||||||
|
RUN chmod +x /usr/local/bin/bichonctl
|
||||||
|
RUN chmod +x /usr/local/bin/bichon-admin
|
||||||
|
|
||||||
# Copy and setup entrypoint script for PUID/PGID support
|
# Copy and setup entrypoint script for PUID/PGID support
|
||||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user