Finalise the script autorun in docker
This commit is contained in:
		| @@ -2,3 +2,6 @@ FROM alpine | ||||
| # docker build -t fooflington/mythic-beasts-dns . | ||||
| 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 | ||||
|  | ||||
| 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 warnings; | ||||
| use LWP::UserAgent; | ||||
| use Data::Dumper; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user