Skip to content

Commit

Permalink
use set dockerfile syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tuky191 committed Nov 5, 2024
1 parent bd298d7 commit 0e6d552
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docker/nexus/bin/setup_venv.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh

if [ "$INSTALL_RUST" = "true" ]; then
exit 1
apt-get update
apt-get install -y --no-install-recommends curl build-essential
curl https://sh.rustup.rs -sSf | sh -s -- -y
Expand All @@ -16,7 +15,6 @@ export OSTYPE=${OSTYPE:-linux-gnu}
. .venv/bin/activate

if [ "$INSTALL_RUST" = "true" ]; then
exit 1
. $HOME/.cargo/env
fi

Expand Down
2 changes: 2 additions & 0 deletions docker/ollama/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#syntax=docker/dockerfile:1

FROM ollama/ollama:0.3.2

ARG LLAMA_MODEL_VERSION=llama
Expand Down
3 changes: 2 additions & 1 deletion docker/sui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Build application
#syntax=docker/dockerfile:1

FROM rust:1.81-bullseye AS builder

ARG PROFILE=release
Expand Down

0 comments on commit 0e6d552

Please sign in to comment.