Skip to content

Commit 9a26270

Browse files
Bump Dropbear SSH to 2024.85 (#35)
1 parent 72a9930 commit 9a26270

File tree

7 files changed

+15
-10
lines changed

7 files changed

+15
-10
lines changed

ssh-server/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
FROM debian:buster-slim
1+
FROM debian:bookworm-slim
22

33
RUN apt-get update
44
RUN apt-get install -y autoconf automake gcc git gzip libssl-dev libz-dev make openssl
55

66
RUN cd /tmp; \
7-
git clone https://github.com/mkj/dropbear; \
7+
git clone https://github.com/mkj/dropbear -b DROPBEAR_2024.85; \
88
cd dropbear; \
99
./configure --enable-static; \
10-
make
11-
12-
RUN apt-get install openssh-client
13-
RUN which scp
10+
make PROGRAMS="dropbear scp" SCPPROGRESS=1

ssh-server/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ amd64 arm64:
1111
docker run --platform linux/$@ -it --rm -d --name $(CONTAINER_NAME) $(IMAGE_NAME) bash
1212
docker cp $(CONTAINER_NAME):/tmp/dropbear/dropbear $@/dropbear
1313
chmod +x $@/dropbear
14-
docker cp $(CONTAINER_NAME):/usr/bin/scp $@/scp
14+
docker cp $(CONTAINER_NAME):/tmp/dropbear/scp $@/scp
1515
chmod +x $@/scp
1616
docker stop $(CONTAINER_NAME)

ssh-server/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ To cross-build on x86\_64, following QEMU packages are required:
44
sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user-static qemu-system-i386
55
```
66

7-
The following files exist to maintain backward compatibility in released LocalStack versions.
7+
Then you can simply run this to re-build the binaries:
88

9-
- [./dropbear](./dropbear)
10-
- [./scp](./dropbear)
9+
```
10+
make all
11+
```
12+
13+
> [!NOTE]
14+
> The following files are used by older versions of LocalStack where the download URL is hardcoded.
15+
> Removing them will break these releases.
16+
>
17+
> - [./dropbear](./dropbear)
18+
> - [./scp](./dropbear)

ssh-server/amd64/dropbear

269 KB
Binary file not shown.

ssh-server/amd64/scp

722 KB
Binary file not shown.

ssh-server/arm64/dropbear

329 KB
Binary file not shown.

ssh-server/arm64/scp

604 KB
Binary file not shown.

0 commit comments

Comments
 (0)