diff --git a/CHANGELOG.md b/CHANGELOG.md index 20948c1..ea64acd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## 5.0.5 - 2024-03-12 + ## 5.0.4 - 2024-03-12 ## 5.0.3 - 2024-03-12 diff --git a/Dockerfile.Ubuntu b/Dockerfile.Ubuntu index 37ef75a..68eeb44 100644 --- a/Dockerfile.Ubuntu +++ b/Dockerfile.Ubuntu @@ -16,6 +16,9 @@ RUN useradd -r -g kafkactl -d /home/kafkactl -s /sbin/nologin -c "Docker image u RUN echo "source /etc/bash_completion" > /home/kafkactl/.bashrc RUN echo "source /etc/bash_completion.d/kafkactl " >> /home/kafkactl/.bashrc +# try to set correct terminal-size +RUN echo '[[ -n $TERM_HEIGHT ]] && stty rows $TERM_HEIGHT cols $TERM_WIDTH' >> /home/kafkactl/.bashrc + # Install CA certificates RUN apt-get update && apt-get install -y \ ca-certificates \ @@ -24,8 +27,5 @@ RUN apt-get update && apt-get install -y \ WORKDIR /home/kafkactl RUN chown -R kafkactl:kafkactl /home/kafkactl -# try to set correct terminal-size -RUN echo "[[ -n $TERM_HEIGHT ]] && stty rows $TERM_HEIGHT cols $TERM_WIDTH" >> /home/kafkactl/.bashrc - USER kafkactl ENTRYPOINT ["kafkactl"]