-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (25 loc) · 1.46 KB
/
Copy pathDockerfile
File metadata and controls
28 lines (25 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#################################################################
# #
# Copyright (c) 2019-2022 YottaDB LLC and/or its subsidiaries. #
# All rights reserved. #
# #
# This source code contains the intellectual property #
# of its copyright holder(s), and is made available #
# under a license. If you do not know the terms of #
# the license, please stop and do not read further. #
# #
#################################################################
FROM yottadb/yottadb-base:latest-master
# Install packaged dependencies
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential git curl cmake gcc g++ pkg-config libmagic-dev \
libssl-dev zlib1g-dev ca-certificates clang \
libsdl2-dev libsdl2-gfx-dev libsdl2-ttf-dev
# Install Rust from rustup. sdl2 requires at least 1.48, which isn't currently packaged.
# Using a separate rustup-init.sh file allows passing CLI arguments.
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
RUN sh rustup-init.sh -y --default-toolchain stable
# Update the index at image creation, so it's cached
RUN ~/.cargo/bin/cargo install empty-library || true
VOLUME /opt/ydbrust
WORKDIR /opt/ydbrust