Skip to content

Commit

Permalink
Merge branch 'main' into routes-tap-error-cause-zio
Browse files Browse the repository at this point in the history
  • Loading branch information
987Nabil authored Dec 23, 2024
2 parents 423db84 + 05cb6df commit 64337ba
Show file tree
Hide file tree
Showing 238 changed files with 6,653 additions and 1,285 deletions.
18 changes: 13 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/java/.devcontainer/base.Dockerfile

# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 11, 17, 11-bullseye, 17-bullseye, 11-buster, 17-buster
ARG VARIANT="11"
FROM mcr.microsoft.com/vscode/devcontainers/java:0-${VARIANT}
ARG VARIANT="17"
FROM mcr.microsoft.com/vscode/devcontainers/java:${VARIANT}


RUN curl -s "https://get.sdkman.io" | bash

# Install Scala Lang
ARG SBT_VERSION="1.7.1"
ARG SBT_VERSION="1.10.1"
RUN \
curl -L "https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz" | tar zxf - -C /usr/share && \
cd /usr/share/sbt/bin && \
rm sbt.bat sbtn-x86_64-apple-darwin sbtn-x86_64-pc-linux sbtn-x86_64-pc-win32.exe && \
ln -s /usr/share/sbt/bin/sbt /usr/local/bin/sbt

ARG SCALA_VERSION="3.1.3"
ARG SCALA_VERSION="3.3.3"
RUN \
mkdir /setup-project && \
cd /setup-project && \
Expand All @@ -24,4 +23,13 @@ RUN \
sbt compile && \
rm -rf /setup-project

RUN \
mkdir /setup-wrk && \
sudo apt-get update -y && sudo apt-get install build-essential libssl-dev git -y && \
git clone https://github.com/wg/wrk.git wrk && \
cd wrk && \
make && \
cp wrk /usr/local/bin && \
rm -rf /setup-wrk

CMD ["sbt"]
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
// Update the VARIANT arg to pick a Java version: 11, 17
// Append -bullseye or -buster to pin to an OS version.
// Use the -bullseye variants on local arm64/Apple Silicon.
"VARIANT": "11",
"SCALA_VERSION": "3.1.3"
"VARIANT": "17",
"SCALA_VERSION": "3.3.3"
}
},

Expand Down
Loading

0 comments on commit 64337ba

Please sign in to comment.