initial commit
This commit is contained in:
parent
2452b3c83d
commit
756caaf3d4
19
.drone.yml
Normal file
19
.drone.yml
Normal file
@ -0,0 +1,19 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Docker image build
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
steps:
|
||||
- name: config
|
||||
image: alpine
|
||||
commands:
|
||||
- echo -n "latest" > .tags
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: quackerd/dhcpd
|
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM alpine:latest
|
||||
COPY ./run.sh /opt/run.sh
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache dhcp \
|
||||
&& chmod +x /opt/run.sh
|
||||
VOLUME ["/etc/dhcp"]
|
||||
CMD ["/opt/run.sh"]
|
||||
|
||||
EXPOSE 67/tcp
|
Loading…
Reference in New Issue
Block a user