-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbb2f32
commit 5737f24
Showing
5 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM arm64v8/debian:bullseye | ||
|
||
ENV DEBIAN_CODENAME="bullseye" | ||
ENV LOCALTIME=Europe/Paris | ||
ENV PATH=/opt/puppetlabs/server/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:$PATH | ||
|
||
RUN cp /usr/share/zoneinfo/$LOCALTIME /etc/localtime | ||
RUN echo $LOCALTIME > /etc/timezone | ||
RUN apt-get update | ||
RUN apt-get install -y apt-utils dialog dirmngr git wget curl lsb-release apt-transport-https ca-certificates | ||
RUN wget https://apt.puppet.com/puppet-release-"$DEBIAN_CODENAME".deb | ||
RUN dpkg -i puppet-release-"$DEBIAN_CODENAME".deb | ||
RUN rm puppet-release-"$DEBIAN_CODENAME".deb | ||
RUN apt-get update | ||
RUN apt-get install -y puppet-agent | ||
RUN apt-get upgrade -y | ||
RUN apt-get autoremove -y | ||
RUN apt-get autoclean -y | ||
RUN rm -rf /var/lib/apt/lists/* | ||
RUN rm -f /etc/puppetlabs/code/modules/ | ||
RUN ln -s /etc/puppet/modules /etc/puppetlabs/code/ | ||
RUN gem install librarian-puppet | ||
RUN ln -s /usr/local/bin/librarian-puppet /opt/puppetlabs/puppet/bin/librarian-puppet | ||
|
||
ENTRYPOINT [ "/bin/bash" ] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: '3' | ||
|
||
services: | ||
docker_debug: | ||
build: | ||
context: ./ | ||
privileged: true | ||
container_name: docker_debug |
This file contains 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
This file contains 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
This file contains 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