This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM amazonlinux:2 | |
RUN yum -y update \ | |
# systemd is not a hard requirement for Amazon ECS Anywhere, but the installation script currently only supports systemd to run. | |
# Amazon ECS Anywhere can be used without systemd, if you set up your nodes and register them into your ECS cluster **without** the installation script. | |
&& yum -y install systemd \ | |
&& yum clean all | |
RUN cd /lib/systemd/system/sysinit.target.wants/; \ | |
for i in *; do [ $i = systemd-tmpfiles-setup.service ] || rm -f $i; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script comunas, regiones, provincias Junio 2022 | |
DROP TABLE IF EXISTS `comunas`; | |
CREATE TABLE `comunas` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`comuna` varchar(64) NOT NULL, | |
`provincia_id` int(11) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM AUTO_INCREMENT=346 DEFAULT CHARSET=utf8; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |