Skip to content

Commit

Permalink
Release v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
navrocky committed Dec 20, 2024
1 parent a1e04ad commit 510fa93
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.2.3 (2024.12.20)

* Pack binary with UPX

# 1.2.2 (2024.10.31)

* Fix removing of current workspace if compose file does not exists
Expand Down
12 changes: 10 additions & 2 deletions Dockerfile.uclibc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ FROM navrocky/buildroot-uclibc-toolchain:i686-2023.11.1

RUN set -x && \
apt-get update && \
apt-get -y install cmake make python3-pip ninja-build && \
apt-get -y --no-install-recommends install cmake make python3-pip ninja-build curl libmpc3 && \
pip install conan --break-system-packages

ENV UPX_VER=4.2.4
RUN set -x && \
curl -LO https://github.com/upx/upx/releases/download/v${UPX_VER}/upx-${UPX_VER}-amd64_linux.tar.xz && \
xzdec upx-${UPX_VER}-amd64_linux.tar.xz | tar xf - && \
install upx-${UPX_VER}-amd64_linux/upx /usr/bin/upx && \
rm -rf upx-${UPX_VER}-amd64_linux upx-${UPX_VER}-amd64_linux.tar.xz

RUN conan profile detect --force && sed -i 's/x86_64/x86/g' ~/.conan2/profiles/default

COPY conanfile.txt /sources/
Expand All @@ -19,4 +26,5 @@ COPY . /sources/
RUN set -x && \
cd /build && \
cmake /sources -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -G Ninja && \
cmake --build .
cmake --build . && \
upx -9 cli/dcw
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

curl -fL https://github.com/navrocky/dcw/releases/download/1.2.2/dcw -o /usr/local/bin/dcw
curl -fL https://github.com/navrocky/dcw/releases/download/1.2.3/dcw -o /usr/local/bin/dcw
chmod +x /usr/local/bin/dcw
curl -fL https://github.com/navrocky/dcw/raw/master/completion.bash -o /etc/bash_completion.d/dcw_completion.bash

Expand Down

0 comments on commit 510fa93

Please sign in to comment.