-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add org.opencontainers.image.* Docker labels
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|