rcon-cli icon indicating copy to clipboard operation
rcon-cli copied to clipboard

[Feature Request] Please add extended install/release instructions with hash-values

Open jammsen opened this issue 1 year ago • 3 comments

Hey @outdead how are you?

I would love to see extended install instructions in the release informations. Here is an example of what i mean by that: Supercronic ( https://github.com/aptible/supercronic/releases ) goes the "Ansible-check" way which is very helpful, to make sure you get what you wanted, because you can check the hashsum, and if by any chance thats wrong your ci-pipeline fails on purpose.

Would you be able to add extended install/release/package informations to your releases please?

jammsen avatar Jan 28 '24 22:01 jammsen

Something like this:

# Latest releases available at https://github.com/gorcon/rcon-cli/releases
ENV RCON_URL=https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz \
    RCON_TGZ=rcon-0.10.3-amd64_linux.tar.gz \
    RCON_TGZ_MD5SUM=8601c70dcab2f90cd842c127f700e398 \
    RCON_BINARY=rcon

RUN curl -fsSLO "$RCON_URL" \
    && echo "${RCON_TGZ_MD5SUM} ${RCON_TGZ}" | md5sum -c - \
    && tar xfz rcon-0.10.3-amd64_linux.tar.gz \
    && chmod +x "rcon-0.10.3-amd64_linux/$RCON_BINARY" \
    && mv "rcon-0.10.3-amd64_linux/$RCON_BINARY" "/usr/local/bin/${RCON_BINARY}" \
    && ln -s "/usr/local/bin/${RCON_BINARY}" /usr/local/bin/rconcli \
    && rm -Rf rcon-0.10.3-amd64_linux rcon-0.10.3-amd64_linux.tar.gz

jammsen avatar Jan 29 '24 09:01 jammsen

Hi! Great issue. Thanks! I'll add this to current release info (and to future releases to)

outdead avatar Feb 05 '24 13:02 outdead

Thank you very much!

jammsen avatar Feb 05 '24 13:02 jammsen