-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM envoyproxy/envoy:v1.20.1 as envoy | ||
|
||
FROM codercom/code-server:4.16.1-debian | ||
|
||
ARG TARGETARCH | ||
|
||
RUN sudo apt update && sudo apt install -y \ | ||
curl wget zip git jq build-essential software-properties-common fonts-hack-ttf | ||
|
||
# Install jumppad validate | ||
RUN curl -L -o validate.zip https://github.com/jumppad-labs/validate/releases/download/v0.1.0/validate-linux-${TARGETARCH}.zip && \ | ||
unzip validate.zip && \ | ||
sudo mv validate-linux-${TARGETARCH} /usr/bin/validate && \ | ||
rm validate.zip | ||
|
||
# Install jumppad bounce | ||
RUN curl -L -o bounce.zip https://github.com/jumppad-labs/bounce/releases/download/v0.1.0/bounce-linux-${TARGETARCH}.zip && \ | ||
unzip bounce.zip && \ | ||
sudo mv bounce-linux-${TARGETARCH} /usr/bin/bounce && \ | ||
rm bounce.zip | ||
|
||
COPY config/config.yaml /home/coder/.config/code-server/config.yaml | ||
|
||
COPY entrypoint.d/* ${ENTRYPOINTD}/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
bind-addr: 127.0.0.1:8080 | ||
auth: none | ||
cert: false | ||
disable-telemetry: true | ||
disable-update-check: true | ||
disable-workspace-trust: true | ||
disable-getting-started-override: true | ||
ignore-last-opened: true | ||
app-name: jumppad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
bounce install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
# Replace the location of the terminal server with the environment vars | ||
eval "echo \"$(cat ./envoy.yaml)\"" >> ./envoy_processed.yaml | ||
|
||
# Run the proxy server | ||
nohup envoy --log-path /logs/envoy.log --log-level debug -c ./envoy_processed.yaml --service-cluster front-proxy & | ||
|
||
# Run docs in the background | ||
npm run dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters