File: Dockerfile

package info (click to toggle)
privatebin-cli 2.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 352 kB
  • sloc: makefile: 14
file content (17 lines) | stat: -rw-r--r-- 444 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ubuntu:22.04

LABEL org.opencontainers.image.source="https://github.com/gearnode/privatebin"
LABEL org.opencontainers.image.licenses="ISC"

RUN useradd -m privatebin && \
    apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y ca-certificates && \
    rm -rf /var/lib/apt/lists/*

COPY privatebin /usr/local/bin/privatebin
RUN chmod +x /usr/local/bin/privatebin

USER privatebin

ENTRYPOINT ["/usr/local/bin/privatebin"]