Finalise the script autorun in docker
This commit is contained in:
parent
1519c653aa
commit
965c94a223
@ -2,3 +2,6 @@ FROM alpine
|
|||||||
# docker build -t fooflington/mythic-beasts-dns .
|
# docker build -t fooflington/mythic-beasts-dns .
|
||||||
LABEL maintainer="Matthew Slowe <foo@mafoo.org.uk>"
|
LABEL maintainer="Matthew Slowe <foo@mafoo.org.uk>"
|
||||||
RUN apk --no-cache add perl perl-yaml perl-lwp-protocol-https perl-json perl-uri perl-yaml-tiny perl-www-form-urlencoded
|
RUN apk --no-cache add perl perl-yaml perl-lwp-protocol-https perl-json perl-uri perl-yaml-tiny perl-www-form-urlencoded
|
||||||
|
|
||||||
|
COPY manage-dns.pl /docker-entry-point.pl
|
||||||
|
ENTRYPOINT ["perl", "/docker-entry-point.pl"]
|
3
manage-dns.pl
Normal file → Executable file
3
manage-dns.pl
Normal file → Executable file
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env perl -w
|
#!/usr/bin/perl
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
|
use warnings;
|
||||||
use LWP::UserAgent;
|
use LWP::UserAgent;
|
||||||
use Data::Dumper;
|
use Data::Dumper;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user