Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F33050020
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
Dockerfile
View Options
# -------------------------------------------------------------
# Nasqueron - Docker image for Nasqueron Datasources
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
# -------------------------------------------------------------
# Builder phase
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM debian:bookworm AS builder
RUN apt update && \
apt install -y git curl build-essential pkg-config \
libpq-dev libssl-dev && \
rm -r /var/lib/apt/lists/* && \
mkdir -p /opt/datasources && \
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y
WORKDIR /opt/datasources
ADD . ./
RUN make all
# -------------------------------------------------------------
# Release phase
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM debian:bookworm
MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
RUN apt update && \
apt install -y unzip libpq5 ca-certificates && \
rm -r /var/lib/apt/lists/*
COPY --from=builder \
/opt/datasources/target/release/fantoir-datasource \
/opt/datasources/target/release/language-subtag-registry-datasource \
/opt/datasources/target/release/rfc-datasource \
/usr/local/bin/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 16, 13:49 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3810811
Default Alt Text
Dockerfile (1 KB)
Attached To
Mode
rDS Nasqueron Datasources
Attached
Detach File
Event Timeline
Log In to Comment