-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update targets and images to use our internal images
Signed-off-by: Timothy St. Clair <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
11 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 |
---|---|---|
|
@@ -12,15 +12,13 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM buildpack-deps:jessie-scm | ||
FROM gcr.io/heptio-images/golang:1.9-alpine3.6 | ||
MAINTAINER Timothy St. Clair "[email protected]" | ||
|
||
RUN apt-get update && apt-get -y --no-install-recommends install \ | ||
ca-certificates \ | ||
&& rm -rf /var/cache/apt/* \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
ADD sonobuoy /sonobuoy | ||
RUN apk add --no-cache ca-certificates | ||
ADD sonobuoy /sonobuoy | ||
ADD scripts/run_master.sh /run_master.sh | ||
#USER nobody:nobody | ||
# TODO - Verify execution is fine as nobody user to drop privs | ||
# USER nobody:nobody | ||
|
||
CMD ["/bin/sh", "-c", "/run_master.sh"] |
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