Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1482 from vdice/chore/update-spin-up-usage
Browse files Browse the repository at this point in the history
chore(*): bump spin and update usage
  • Loading branch information
vdice authored Mar 8, 2023
2 parents 55b2369 + f081d96 commit 92fb251
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG BINDLE_VERSION="v0.8.0"
RUN curl -fsSLo bindle.tar.gz https://bindle.blob.core.windows.net/releases/bindle-${BINDLE_VERSION}-linux-amd64.tar.gz && tar -xvf bindle.tar.gz && mv bindle bindle-server /usr/local/bin/

# Install spin
ARG SPIN_VERSION="v0.2.0"
ARG SPIN_VERSION="v0.10.0"
RUN curl -fsSLo spin.tar.gz https://github.com/fermyon/spin/releases/download/${SPIN_VERSION}/spin-${SPIN_VERSION}-linux-amd64.tar.gz && tar -xvf spin.tar.gz && mv spin /usr/local/bin/

# Install Rust
Expand Down
4 changes: 2 additions & 2 deletions .github/release-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ ARG BINDLE_VERSION="v0.8.0"
RUN mkdir bindle && cd bindle && curl -fsSLo bindle.tar.gz https://bindle.blob.core.windows.net/releases/bindle-${BINDLE_VERSION}-linux-amd64.tar.gz && tar -xvf bindle.tar.gz && mv bindle bindle-server README.md LICENSE.txt /usr/local/bin/ && cd - && rm -r bindle

# Install spin
ARG SPIN_VERSION="v0.2.0"
RUN mkdir spin && cd spin && curl -fsSLo spin.tar.gz https://github.com/fermyon/spin/releases/download/${SPIN_VERSION}/spin-${SPIN_VERSION}-linux-amd64.tar.gz && tar -xvf spin.tar.gz && mv spin readme.md LICENSE /usr/local/bin/ && cd - && rm -r spin
ARG SPIN_VERSION="v0.10.0"
RUN mkdir spin && cd spin && curl -fsSLo spin.tar.gz https://github.com/fermyon/spin/releases/download/${SPIN_VERSION}/spin-${SPIN_VERSION}-linux-amd64.tar.gz && tar -xvf spin.tar.gz && mv spin README.md LICENSE /usr/local/bin/ && cd - && rm -r spin

# Install Rust
RUN su ${USER} -c "mkdir rust && cd rust && curl -fsSLo install_rust.sh https://sh.rustup.rs && chmod +x ./install_rust.sh && ./install_rust.sh -y -t wasm32-wasi && cd - && rm -r rust"
Expand Down
2 changes: 1 addition & 1 deletion src/Infrastructure/Services/NomadJobService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private Fermyon.Nomad.Model.Task GenerateJobTask(NomadJob nomadJob)
Config = new Dictionary<string, object>
{
{ "command", nomadJob.spinBinaryPath },
{ "args", new List<string> { "up", "--listen", "${NOMAD_ADDR_http}", "--follow-all", "--bindle", nomadJob.BindleId } }
{ "args", new List<string> { "up", "--listen", "${NOMAD_ADDR_http}", "--bindle", nomadJob.BindleId } }
}
};
}
Expand Down

0 comments on commit 92fb251

Please sign in to comment.