Skip to content

Commit 6e7dcd8

Browse files
Adding in the changes found with AWS
1 parent 5c9530e commit 6e7dcd8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

scripts/aws/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ RUN echo "deb http://security.ubuntu.com/ubuntu focal-security main" | tee -a /e
2828
RUN pip3 install boto3==1.16.9
2929

3030
COPY ./gvforwarder /app
31-
RUN wget https://www.busybox.net/downloads/binaries/1.35.0-i686-linux-musl/busybox_UDHCPC
32-
RUN mv busybox_UDHCPC /usr/bin/udhcpc
33-
RUN chmod 755 /usr/bin/udhcpc
31+
RUN apt install busybox udhcpc -y
3432

3533
COPY ./target/${JAR_NAME}-${JAR_VERSION}-jar-with-dependencies.jar /app/${JAR_NAME}-${JAR_VERSION}.jar
3634
COPY ./static /app/static

scripts/aws/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ echo "Starting vsock proxy..."
1919
/app/vsockpx --config /app/proxies.nitro.yaml --daemon --workers $(( ( $(nproc) + 3 ) / 4 )) --log-level 3
2020

2121
# -- gvisor forwarder
22-
gvforwarder -url vsock://3:1024/connect &
22+
gvforwarder -debug -url vsock://3:1024/connect &
23+
sleep 5
2324

2425
# -- load config from identity service
2526
echo "Loading config from identity service via proxy..."

0 commit comments

Comments
 (0)