Skip to content

Instantly share code, notes, and snippets.

@tjdett
Last active January 13, 2017 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjdett/ec07997ca9b094fb9ed6324a82431217 to your computer and use it in GitHub Desktop.
Save tjdett/ec07997ca9b094fb9ed6324a82431217 to your computer and use it in GitHub Desktop.
Quay.io ACI vs docker2aci for https://github.com/dit4c/dockerfile-nghttpx
{
"acKind": "ImageManifest",
"acVersion": "0.8.8",
"name": "nghttpx",
"labels": [
{
"name": "version",
"value": "latest"
},
{
"name": "os",
"value": "linux"
},
{
"name": "arch",
"value": "amd64"
}
],
"app": {
"exec": [
"/usr/bin/nghttpx",
"--user=nghttpx"
],
"user": "0",
"group": "0",
"environment": [
{
"name": "PATH",
"value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}
],
"ports": [
{
"name": "3000-tcp",
"protocol": "tcp",
"port": 3000,
"count": 1,
"socketActivated": false
}
]
},
"annotations": [
{
"name": "authors",
"value": "Tim Dettrick \u003ct.dettrick@uq.edu.au\u003e"
},
{
"name": "created",
"value": "2017-01-13T04:56:59Z"
},
{
"name": "appc.io/docker/repository",
"value": "nghttpx"
},
{
"name": "appc.io/docker/imageid",
"value": "167010ddbef78842653d5e5b9d09148f80faf328a5f898d4ba757ed3e9af9374"
},
{
"name": "appc.io/docker/parentimageid",
"value": "b3c41ce812b45d717d82b971ff7ad89daacf4bb5d8d4fb8aa9955b40e71e4cb1"
},
{
"name": "appc.io/docker/entrypoint",
"value": "[\"/usr/bin/nghttpx\",\"--user=nghttpx\"]"
},
{
"name": "appc.io/docker/tag",
"value": "latest"
}
]
}
FROM alpine:edge
MAINTAINER Tim Dettrick <t.dettrick@uq.edu.au>
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
adduser -S -D -h /dev/null -s /sbin/nologin nghttpx && \
apk add --update nghttp2 python openssl ca-certificates && \
rm -rf /var/cache/apk/*
ENTRYPOINT ["/usr/bin/nghttpx", "--user=nghttpx"]
EXPOSE 3000
{
"acKind": "ImageManifest",
"acVersion": "0.6.1",
"name": "quay.io/dit4c/nghttpx",
"labels": [
{
"name": "version",
"value": "latest"
},
{
"name": "arch",
"value": "amd64"
},
{
"name": "os",
"value": "linux"
}
],
"app": {
"exec": [
"/usr/bin/nghttpx",
"--user=nghttpx"
],
"user": "root",
"group": "root",
"workingDirectory": "/",
"environment": [
{
"name": "PATH",
"value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment