mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-02-06 09:16:28 +00:00
12 lines
283 B
Docker
12 lines
283 B
Docker
ARG BASE_IMAGE
|
|
FROM ${BASE_IMAGE}
|
|
|
|
ARG PKG_DIR
|
|
|
|
COPY pkg/$PKG_DIR $PKG_DIR
|
|
RUN tree $PKG_DIR
|
|
RUN rsync -az _build/prod/rel/firezone/* $PKG_DIR/usr/lib/firezone/
|
|
RUN mkdir -p $PKG_DIR/usr/bin
|
|
RUN cd $PKG_DIR/usr/bin && ln -s ../lib/firezone/bin/firezone
|
|
RUN dpkg-deb --build $PKG_DIR
|