ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
ARG NAME=openbao |
RUN |1 NAME=openbao /bin/sh -c addgroup ${NAME} && adduser -S -G ${NAME} ${NAME} # buildkit |
RUN |1 NAME=openbao /bin/sh -c apk add --no-cache libcap su-exec dumb-init tzdata # buildkit |
COPY /usr/src/openbao/bin/bao /bin/bao # buildkit |
RUN |1 NAME=openbao /bin/sh -c mkdir -p /openbao/logs && mkdir -p /openbao/file && mkdir -p /openbao/config && chown -R ${NAME}:${NAME} /openbao # buildkit |
VOLUME [/openbao/logs] |
VOLUME [/openbao/file] |
EXPOSE map[8200/tcp:{}] |
COPY /usr/src/openbao/.release/docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit |
ENTRYPOINT ["docker-entrypoint.sh"] |
CMD ["server" "-dev"] |