Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56401204
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 nasqueron/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 APP_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 7, 19:56 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4248500
Default Alt Text
Dockerfile (1 KB)
Attached To
Mode
rAPIREG Nasqueron private Docker registry API
Attached
Detach File
Event Timeline
Log In to Comment