mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-22 03:41:56 +00:00
12 lines
276 B
Docker
12 lines
276 B
Docker
ARG BASE_IMAGE
|
|
FROM ${BASE_IMAGE}
|
|
|
|
ARG PKG_DIR
|
|
|
|
COPY pkg/$PKG_DIR $PKG_DIR
|
|
RUN tree .
|
|
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
|