Wrong dir?

This commit is contained in:
Jamil Bou Kheir
2021-07-11 14:02:32 -07:00
parent 6e85c887c0
commit e6a99bdc42

View File

@@ -66,11 +66,11 @@ RUN mix release
# Copy shared files
RUN rsync -avz pkg/debian_shared/* pkg/$PKG_DIR/
RUN ls -lR pkg/$PKG_DIR
RUN mkdir -p pkg/$PKG_DIR/etc/firezone
RUN mkdir -p pkg/$PKG_DIR/usr/bin
RUN mkdir -p pkg/$PKG_DIR/usr/lib/firezone
RUN mv _build/prod/rel/firezone pkg/$PKG_DIR/usr/lib/firezone
RUN mv _build/prod/rel/firezone pkg/$PKG_DIR/usr/lib/
RUN cd pkg/$PKG_DIR/usr/bin && ln -s ../lib/firezone/bin/firezone
RUN ls -lR pkg/$PKG_DIR
RUN cd pkg && dpkg-deb --build $PKG_DIR