Access Private Repositories from Your Dockerfile Without Leaving Behind Your SSH Keys · vsupalov.com
put temporary ssh key in docker to build
# this is our first build stage, it will not persist in the final image
FROM ubuntu as intermediate
# install git
RUN apt-get update
RUN apt-get install -y git
# add credentials on build
ARG SSH_PRIVATE_KEY
RUN mkdir /root/.ssh/
RUN echo "${SSH_PRIVATE_KEY}" > /root/.ssh/id_rsa
# make sure your domain is accepted
RUN touch /root/.ssh/known_hosts
RUN ssh-keyscan bitbucket.org >> /root/.ssh/known_hosts
RUN git clone git@bitbucket.org:your-user/your-repo.git
FROM ubuntu
# copy the repository form the previous image
COPY --from=intermediate /your-repo /srv/your-repo
# ... actually use the repo :)
The SSH_PRIVATE_KEY is passed when issuing the build command with --build-arg or in the build block of your docker-compose.yml file. As it is not used in the final image, the value will not be available using the history command. For a better overview of using variables when handling your Docker workflows, read this in-depth guide.
Dune Legacy is an effort by a handful of developers to revitalize the first-ever real-time strategy game.
It tries to be as similar as possible to the original gameplay but to integrate user interface features most modern realtime-strategy games have like selecting multiple units
About
It's the new official website for all Epsitec SA games.
Is it really free? Seriously?
Yes, all games can be downloaded freely. It's official and legal. With some games, the source-code is available, see this thread.
You should download in priority the releases provided by this website on top of this page instead of the archives section. The CoLoBoT game is actively developed by the TerranovaTeam. It's no longer maintained by Epsitec SA since 2014. Note that this team own the main repositories for the Buzzing Cars and Blupimania 2 source-codes too. No release are available for these games, then it makes sense to continue to download the archives in this case.
About Planet Blupi, it's a bit different. The official repositories are not really maintained by Epsitec SA, but just by one employee which is working on the games as hobbyist. Nothing new about the game is done under the Epsitec SA name.
sysctl -w vm.max_map_count=262144
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
audio streaming server
gpg --recv-keys --keyserver hkp://pgp.mit.edu <key>
les commandes des différents gestionnaires de package
version: '3'
services:
mongorsn1:
container_name: mongors1n1
image: mongo
command: mongod --shardsvr --replSet mongors1 --dbpath /data/db --port 27017
ports:
- 27017:27017
expose: - "27017"
environment:
TERM: xterm
volumes: - /etc/localtime:/etc/localtime:ro
- /mongo_cluster/data1:/data/dbA
mongors1n2:
container_name: mongors1n2
image: mongo
command: mongod --shardsvr --replSet mongors1 --dbpath /data/db --port 27017
ports: - 27027:27017
expose: - "27017"
environment:
TERM: xterm
volumes: - /etc/localtime:/etc/localtime:ro
- /mongo_cluster/data2:/data/db
mongors1n3:
container_name: mongors1n3
image: mongo
command: mongod --shardsvr --replSet mongors1 --dbpath /data/db --port 27017
ports: - 27037:27017
expose: - "27017"
environment:
TERM: xterm
volumes: - /etc/localtime:/etc/localtime:ro
- /mongo_cluster/data3:/data/db
mongocfg1:
container_name: mongocfg1
image: mongo
command: mongod --configsvr --replSet mongors1conf --dbpath /data/db --port 27017
environment:
TERM: xterm
expose: - "27017"
volumes: - /etc/localtime:/etc/localtime:ro
- /mongo_cluster/config1:/data/db
mongocfg2:
container_name: mongocfg2
image: mongo
command: mongod --configsvr --replSet mongors1conf --dbpath /data/db --port 27017
environment:
TERM: xterm
expose: - "27017"
volumes: - /etc/localtime:/etc/localtime:ro
- /mongo_cluster/config2:/data/db
mongocfg3:
container_name: mongocfg3
image: mongo
command: mongod --configsvr --replSet mongors1conf --dbpath /data/db --port 27017
environment:
TERM: xterm
expose: - "27017"
volumes: - /etc/localtime:/etc/localtime:ro
- /mongo_cluster/config3:/data/db
mongos1:
container_name: mongos1
image: mongo
depends_on: - mongocfg1
- mongocfg2
command: mongos --configdb mongors1conf/mongocfg1:27017,mongocfg2:27017,mongocfg3:27017 --port 27017
ports: - 27019:27017
expose: - "27017"
volumes: - /etc/localtime:/etc/localtime:ro
mongos2:
container_name: mongos2
image: mongo
depends_on: - mongocfg1
- mongocfg2
command: mongos --configdb mongors1conf/mongocfg1:27017,mongocfg2:27017,mongocfg3:27017 --port 27017
ports: - 27020:27017
expose: - "27017"
volumes: - /etc/localtime:/etc/localtime:ro
Maven in 5 Minutes
robomongo : outil de manipulation mongo