UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
Kaniko
Kaniko
Commits
60cd53e6
Commit
60cd53e6
authored
Apr 08, 2021
by
sean.melissari
Browse files
Merge branch 'bump-busybox' into 'development'
bump busybox See merge request
!14
parents
bdd548b0
9fdea982
Pipeline
#213854
passed with stages
in 6 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
Dockerfile
Dockerfile
+5
-2
hardening_manifest.yaml
hardening_manifest.yaml
+8
-6
No files found.
Dockerfile
View file @
60cd53e6
...
@@ -3,6 +3,9 @@ ARG BASE_IMAGE=ironbank/google/distroless/static
...
@@ -3,6 +3,9 @@ ARG BASE_IMAGE=ironbank/google/distroless/static
ARG
BASE_TAG=nonroot
ARG
BASE_TAG=nonroot
FROM
gcr.io/kaniko-project/executor:v1.5.1-debug as upstream
FROM
gcr.io/kaniko-project/executor:v1.5.1-debug as upstream
FROM
busybox:1.32.1 as busybox
FROM
${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
FROM
${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ENV
PATH /kaniko:/busybox
ENV
PATH /kaniko:/busybox
...
@@ -14,7 +17,7 @@ ENV DOCKER_CREDENTIAL_GCR_CONFIG /kaniko/.config/gcloud/docker_credential_gcr_co
...
@@ -14,7 +17,7 @@ ENV DOCKER_CREDENTIAL_GCR_CONFIG /kaniko/.config/gcloud/docker_credential_gcr_co
USER
0
USER
0
# Copy out all binary files
# Copy out all binary files
COPY
--from=
upstream /
busybox /busybox
COPY
--from=busybox
/bin
/busybox
RUN
[
"mkdir"
,
"-p"
,
"/kaniko"
,
"/kaniko/.docker"
,
"/workspace"
,
"/kaniko/ssl/certs"
]
RUN
[
"mkdir"
,
"-p"
,
"/kaniko"
,
"/kaniko/.docker"
,
"/workspace"
,
"/kaniko/ssl/certs"
]
RUN
[
"cp"
,
"/etc/ssl/certs/ca-certificates.crt"
,
"/kaniko/ssl/certs/ca-certificates.crt"
]
RUN
[
"cp"
,
"/etc/ssl/certs/ca-certificates.crt"
,
"/kaniko/ssl/certs/ca-certificates.crt"
]
COPY
--from=upstream /kaniko/docker-credential-acr /kaniko/docker-credential-acr
COPY
--from=upstream /kaniko/docker-credential-acr /kaniko/docker-credential-acr
...
@@ -29,4 +32,4 @@ WORKDIR /workspace
...
@@ -29,4 +32,4 @@ WORKDIR /workspace
HEALTHCHECK
NONE
HEALTHCHECK
NONE
ENTRYPOINT
["executor"]
ENTRYPOINT
["executor"]
\ No newline at end of file
hardening_manifest.yaml
View file @
60cd53e6
...
@@ -19,7 +19,7 @@ labels:
...
@@ -19,7 +19,7 @@ labels:
## Human-readable description of the software packaged in the image
## Human-readable description of the software packaged in the image
org.opencontainers.image.description
:
"
kaniko
is
a
tool
to
build
container
images
from
a
Dockerfile,
inside
a
container
or
Kubernetes
cluster"
org.opencontainers.image.description
:
"
kaniko
is
a
tool
to
build
container
images
from
a
Dockerfile,
inside
a
container
or
Kubernetes
cluster"
## License(s) under which contained software is distributed
## License(s) under which contained software is distributed
org.opencontainers.image.licenses
:
"
Apache
License
2.0"
org.opencontainers.image.licenses
:
"
Apache
-
2.0"
## URL to find more information on the image
## URL to find more information on the image
org.opencontainers.image.url
:
"
https://github.com/GoogleContainerTools/kaniko"
org.opencontainers.image.url
:
"
https://github.com/GoogleContainerTools/kaniko"
## Name of the distributing entity, organization or individual
## Name of the distributing entity, organization or individual
...
@@ -29,18 +29,20 @@ labels:
...
@@ -29,18 +29,20 @@ labels:
mil.dso.ironbank.image.keywords
:
"
docker,google,rootless,cicd"
mil.dso.ironbank.image.keywords
:
"
docker,google,rootless,cicd"
## This value can be "opensource" or "commercial"
## This value can be "opensource" or "commercial"
mil.dso.ironbank.image.type
:
"
opensource"
mil.dso.ironbank.image.type
:
"
opensource"
#
## Product the image belongs to for grouping multiple images
## Product the image belongs to for grouping multiple images
mil.dso.ironbank.product.name
:
"
kaniko"
mil.dso.ironbank.product.name
:
"
kaniko"
resources
:
resources
:
-
tag
:
gcr.io/kaniko-project/executor:v1.5.1-debug
-
tag
:
gcr.io/kaniko-project/executor:v1.5.1-debug
url
:
docker://gcr.io/kaniko-project/executor@sha256:e00dfdd4a44097867c8ef671e5a7f3e31d94bd09406dbdfba8a13a63fc6b8060
url
:
docker://gcr.io/kaniko-project/executor@sha256:e00dfdd4a44097867c8ef671e5a7f3e31d94bd09406dbdfba8a13a63fc6b8060
-
tag
:
busybox:1.32.1
url
:
docker://docker.io/library/busybox@sha256:1ccc0a0ca577e5fb5a0bdf2150a1a9f842f47c8865e861fa0062c5d343eb8cac
maintainers
:
maintainers
:
-
email
:
"
joshua.t.carnes@lmco.com"
-
email
:
"
joshua.t.carnes@lmco.com"
# # The name of the current container owner
name
:
"
Joshua
Carnes"
name
:
"
Joshua
Carnes"
# # The gitlab username of the current container owner
username
:
"
jcarnes"
username
:
"
jcarnes"
-
name
:
"
Sean
Melissari"
username
:
"
sean.melissari"
email
:
"
melissari_sean@bah.com"
cht_member
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment