initial commit
This commit is contained in:
parent
0f11da07a0
commit
1d383346d6
21
.drone.yml
Normal file
21
.drone.yml
Normal file
@ -0,0 +1,21 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Docker image build
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
steps:
|
||||
- name: config
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk add --no-cache git
|
||||
- git clone https://git.quacker.org/d/dockerutils
|
||||
- sh dockerutils/alpine-pkg-tag.sh tftp-hpa
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: quackerd/tftp
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM alpine:latest
|
||||
COPY ./run.sh /opt/run.sh
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache tftp-hpa \
|
||||
&& chmod +x /opt/run.sh
|
||||
|
||||
VOLUME ["/var/tftpboot"]
|
||||
CMD ["/opt/run.sh"]
|
||||
|
||||
EXPOSE 69/tcp
|
||||
EXPOSE 69/udp
|
Loading…
Reference in New Issue
Block a user