Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F57003442
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Dockerfile
View Options
# -------------------------------------------------------------
# Nasqueron - private Docker registry API image
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-10-11
# License: BSD-2-Clause
# -------------------------------------------------------------
# -------------------------------------------------------------
# Builder phase
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM ekidd/rust-musl-builder:nightly AS builder
ADD . ./
RUN sudo chown -R rust:rust /home/rust && \
cargo build --release
# -------------------------------------------------------------
# Release phase
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FROM alpine:latest
MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
COPY --from=builder \
/home/rust/src/target/x86_64-unknown-linux-musl/release/docker-registry-api \
/usr/local/bin/
ENV ROCKET_ADDRESS=0.0.0.0
EXPOSE 8000
CMD /usr/local/bin/docker-registry-api
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 14, 19:29 (1 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4254631
Default Alt Text
Dockerfile (1 KB)
Attached To
Mode
rAPIREG Nasqueron private Docker registry API
Attached
Detach File
Event Timeline
Log In to Comment