Existe alguma forma de ter acesso ao codigo fonte de alguma imagem ? em qual curso foi criado as imagens de portal noticia?
Você está vendo a versão anterior da nova experiência da Alura que estamos preparando para você. Em breve, ela ganha uma identidade visual novinha totalmente pensada em potencializar seus estudos!
Existe alguma forma de ter acesso ao codigo fonte de alguma imagem ? em qual curso foi criado as imagens de portal noticia?
As imagens são feitas a partir de um descritor chamado Dockerfile. Se você não tem o Dockerfile e quiser descobrir como a imagem foi criada, para uma das imagens do curso você poderia fazer:
docker pull aluracursos/portal-noticias:1
e depois
docker image history aluracursos/portal-noticias:1
A saída seria algo parecido com:
IMAGE CREATED CREATED BY SIZE COMMENT
1d80f2a700a8 2 years ago /bin/sh -c #(nop) COPY dir:2559f518849fe85ad… 46.9MB
<missing> 2 years ago /bin/sh -c chmod -R 777 /var/www/html 0B
<missing> 2 years ago /bin/sh -c mkdir -p /var/www/html 0B
<missing> 2 years ago /bin/sh -c apt-get install -y libxrender1 … 16.7MB
<missing> 2 years ago /bin/sh -c docker-php-ext-install mysqli 191kB
<missing> 2 years ago /bin/sh -c docker-php-ext-install pdo_mysql 38.2kB
<missing> 2 years ago /bin/sh -c docker-php-ext-install zip 156kB
<missing> 2 years ago /bin/sh -c docker-php-ext-install -j$(nproc)… 846kB
<missing> 2 years ago /bin/sh -c ln -s /usr/lib/x86_64-linux-gnu/l… 73B
<missing> 2 years ago /bin/sh -c apt-get install -y libfre… 73.4MB
<missing> 2 years ago /bin/sh -c apt-get update 16.4MB
<missing> 2 years ago /bin/sh -c #(nop) COPY file:d3a119e86772f60e… 73.7kB
<missing> 2 years ago /bin/sh -c #(nop) COPY file:6834a1c2337d51ca… 73.7kB
<missing> 3 years ago /bin/sh -c #(nop) CMD ["apache2-foreground"] 0B
<missing> 3 years ago /bin/sh -c #(nop) EXPOSE 80 0B
<missing> 3 years ago /bin/sh -c #(nop) WORKDIR /var/www/html 0B
<missing> 3 years ago /bin/sh -c #(nop) COPY file:e3123fcb6566efa9… 1.35kB
<missing> 3 years ago /bin/sh -c #(nop) ENTRYPOINT ["docker-php-e… 0B
<missing> 3 years ago /bin/sh -c #(nop) COPY multi:0a6fe33cb396949… 6.43kB
<missing> 3 years ago /bin/sh -c set -eux; savedAptMark="$(apt-m… 34MB
<missing> 3 years ago /bin/sh -c #(nop) COPY file:ce57c04b70896f77… 587B
<missing> 3 years ago /bin/sh -c set -xe; fetchDeps=' wget ';… 13.8MB
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_SHA256=1369a51eee… 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_URL=https://secur… 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_VERSION=5.6.40 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV GPG_KEYS=0BD78B5F9750… 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -… 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-… 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-pr… 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_EXTRA_CONFIGURE_A… 0B
<missing> 3 years ago /bin/sh -c #(nop) ENV PHP_EXTRA_BUILD_DEPS=… 0B...
Acredito que essas imagens não foram criadas em nenhum curso, devem ter sido criadas pelo instrutor para a apresentação do curso.