build(docker/fradrive): update release Dockerfile to copy bin
This commit is contained in:
parent
c47d1c01f8
commit
fa02a0727a
@ -23,6 +23,7 @@ RUN mkdir -p /var/log/uniworx && chown -R uniworx:uniworx /var/log/uniworx
|
|||||||
# TODO: is this still needed?
|
# TODO: is this still needed?
|
||||||
# RUN install -d -g uniworx -o uniworx -m 0750 /var/lib/uniworx
|
# RUN install -d -g uniworx -o uniworx -m 0750 /var/lib/uniworx
|
||||||
# RUN install -d -g uniworx -o uniworx -m 0755 /var/log/uniworx
|
# RUN install -d -g uniworx -o uniworx -m 0755 /var/log/uniworx
|
||||||
|
RUN cp /tmp/uniworx-bin/uniworx /usr/bin/uniworx
|
||||||
|
|
||||||
USER uniworx
|
USER uniworx
|
||||||
ENTRYPOINT fradrive-entrypoint.sh
|
ENTRYPOINT fradrive-entrypoint.sh
|
||||||
|
|||||||
@ -13,7 +13,6 @@ if [[ -d "${configDir}" ]]; then
|
|||||||
configs+=("${(q)cfg}")
|
configs+=("${(q)cfg}")
|
||||||
done < <(find "${configDir}" \( -name '*.yml' -o -name '*.yaml' \) -print0 | sort -rz)
|
done < <(find "${configDir}" \( -name '*.yml' -o -name '*.yaml' \) -print0 | sort -rz)
|
||||||
fi
|
fi
|
||||||
configs+=('/nix/store/mr2s10y1pj1fx594gjx0qlvc704n1j00-uni2work.yml')
|
|
||||||
|
|
||||||
cd /var/lib/uniworx
|
cd /var/lib/uniworx
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user