Skip to content

Commit

Permalink
Add org.opencontainers.image.* Docker labels
Browse files Browse the repository at this point in the history
  • Loading branch information
seansica committed Aug 8, 2023
1 parent 241cac4 commit d876528
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
FROM node:18

# Set Docker labels
LABEL org.opencontainers.image.title="ATT&CK Workbench REST API Service" \
org.opencontainers.image.description="This Docker image contains the REST API service of the ATT&CK Workbench, an application for exploring, creating, annotating, and sharing extensions of the MITRE ATT&CK® knowledge base. The service handles the storage, querying, and editing of ATT&CK objects. The application is built on Node.js and Express.js, and is served by the built-in web server provided by Express.js." \
org.opencontainers.image.source="https://github.com/center-for-threat-informed-defense/attack-workbench-rest-api" \
org.opencontainers.image.documentation="https://github.com/center-for-threat-informed-defense/attack-workbench-rest-api/README.md" \
org.opencontainers.image.url="https://ghcr.io/center-for-threat-informed-defense/attack-workbench-rest-api" \
org.opencontainers.image.vendor="The MITRE Corporation" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.authors="MITRE ATT&CK<[email protected]>" \
maintainer="MITRE ATT&CK<[email protected]>"

# Create app directory
WORKDIR /usr/src/app

Expand Down

0 comments on commit d876528

Please sign in to comment.