Skip to content

Commit

Permalink
Prepare v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar Oostendorp committed Feb 17, 2024
1 parent 4492c05 commit 15831b5
Show file tree
Hide file tree
Showing 9 changed files with 257 additions and 2,082 deletions.
24 changes: 8 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ COPY --from=dashboard_deps /app/node_modules ./node_modules
# Build the webapp
RUN yarn build --mode production

FROM rust:1 AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN cargo install cargo-chef
FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef
WORKDIR /app/server

FROM chef AS server_planner
Expand All @@ -36,9 +33,9 @@ RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS server_builder

# Install DEV dependencies and others.
RUN apt-get update -y && \
apt-get install -y net-tools build-essential python3 python3-pip valgrind
## Install DEV dependencies and others.
#RUN apt-get update -y && \
# apt-get install -y net-tools build-essential python3 python3-pip valgrind

COPY --from=server_planner /app/server/recipe.json recipe.json

Expand All @@ -54,7 +51,7 @@ COPY ./server/Cargo.toml /app/server/Cargo.toml
# Build the binary
RUN cargo build --release

FROM debian:bookworm-slim as keiko
FROM node:20-bookworm as keiko

ARG DOJO_VERSION

Expand All @@ -65,17 +62,12 @@ RUN apt-get update && \
apt-get install -y \
jq \
git-all \
build-essential \
curl \
nodejs \
npm
build-essential


RUN apt-get autoremove && apt-get clean
RUN npm i -g @import-meta-env/cli

## Get Rust
#RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
#RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc

#Install Scarb
RUN curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh --output install.sh
RUN chmod +x ./install.sh
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REPO = oostvoort/keiko
REPO = ghcr.io/pixelaw/keiko

VERSION = $(shell cat VERSION)
DOJO_VERSION = $(shell cat DOJO_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion chart/keiko/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.27"
appVersion: "0.1.0"
Loading

0 comments on commit 15831b5

Please sign in to comment.