Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endif

.PHONY: usage
usage:
@echo "targets include: usage pre-build build install stop start init_local_env status restart clean"
@echo "targets include :usage pre-build build install stop start init_local_env status restart clean"

.PHONY: pre-build
pre-build:
Expand Down
42 changes: 42 additions & 0 deletions build-ubuntu-example.com/krb5-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Generated from Jinja template
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

# Dockerfile - minimal-ubuntu
#
# usage: docker build -t minimal-ubuntu .

FROM ubuntu:22.04

# environment variables
ENV DEBIAN_FRONTEND noninteractive

# build environment
WORKDIR /root/

# update
RUN apt update -y

# editor
RUN apt install -y vim nano

# general
RUN apt install -y sudo sshpass

# network commands
RUN apt install -y net-tools
RUN apt install -y iputils-ping
RUN apt install -y dnsutils
RUN apt install -y lsof
RUN apt install -y curl wget

# python
RUN apt install -y python3-dev python3-pip

# java
RUN apt install -y openjdk-8-jdk
# maven
RUN apt install -y maven

# supervisord
RUN pip install supervisor
RUN mkdir -p /var/log/supervisord/
2 changes: 1 addition & 1 deletion script/pre-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ fi

# Build template minimal operating system for each container
echo "=== pre-build docker image 'minimal-${OS_CONTAINER}' ==="
docker build -t "${image_name}" "./${build_name}/${PREFIX_KRB5}-${OS_CONTAINER}"
docker build -t "${image_name}" "./build-ubuntu-example.com/krb5-ubuntu"