-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize test images customization to make possible to easily test other images. Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
- Loading branch information
Showing
12 changed files
with
195 additions
and
107 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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
FROM quay.io/centos/centos:stream9 | ||
COPY id_*.pub /root/ | ||
COPY lime_con_start.sh /usr/local/bin/lime_con_start | ||
RUN dnf install -y keylime-agent-rust util-linux-core openssh openssh-server which && \ | ||
dnf clean all && \ | ||
ssh-keygen -A && mkdir -p /root/.ssh && \ | ||
cat /root/id_*.pub > /root/.ssh/authorized_keys && \ | ||
chmod 700 /root/.ssh/authorized_keys && \ | ||
chmod a+x /usr/local/bin/lime_con_start | ||
RUN dnf install -y keylime-agent-rust util-linux-core which && \ | ||
dnf clean all | ||
|
||
EXPOSE 9002 | ||
EXPOSE 8892 | ||
|
||
CMD ["keylime_agent"] |
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
FROM quay.io/centos/centos:stream9 | ||
COPY id_*.pub /root/ | ||
COPY lime_con_start.sh /usr/local/bin/lime_con_start | ||
RUN dnf install -y keylime-registrar openssh openssh-server which && \ | ||
dnf clean all && \ | ||
ssh-keygen -A && mkdir -p /root/.ssh && \ | ||
cat /root/id_*.pub > /root/.ssh/authorized_keys && \ | ||
chmod 700 /root/.ssh/authorized_keys && \ | ||
chmod a+x /usr/local/bin/lime_con_start | ||
RUN dnf install -y keylime-registrar which && \ | ||
dnf clean all | ||
|
||
EXPOSE 8890 | ||
EXPOSE 8891 | ||
|
||
CMD ["keylime_registrar"] |
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 |
---|---|---|
@@ -1,11 +1,6 @@ | ||
FROM quay.io/centos/centos:stream9 | ||
COPY lime_con_start.sh /usr/local/bin/lime_con_start | ||
COPY lime_con_install_upstream.sh /usr/local/bin/lime_con_install_upstream | ||
COPY id_*.pub /root/ | ||
RUN chmod a+x /usr/local/bin/lime_con_* && \ | ||
mkdir -p /mnt/keylime_sources && \ | ||
cp -r /mnt/keylime_sources /var/tmp/keylime_sources && \ | ||
/usr/local/bin/lime_con_install_upstream && \ | ||
ssh-keygen -A && mkdir -p /root/.ssh && \ | ||
cat /root/id_*.pub > /root/.ssh/authorized_keys && \ | ||
chmod 700 /root/.ssh/authorized_keys | ||
/usr/local/bin/lime_con_install_upstream |
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
FROM quay.io/centos/centos:stream9 | ||
COPY id_*.pub /root/ | ||
COPY lime_con_start.sh /usr/local/bin/lime_con_start | ||
RUN dnf install -y keylime-verifier openssh openssh-server which && \ | ||
dnf clean all && \ | ||
ssh-keygen -A && mkdir -p /root/.ssh && \ | ||
cat /root/id_*.pub > /root/.ssh/authorized_keys && \ | ||
chmod 700 /root/.ssh/authorized_keys && \ | ||
chmod a+x /usr/local/bin/lime_con_start | ||
RUN dnf install -y keylime-verifier which && \ | ||
dnf clean all | ||
|
||
EXPOSE 8881 | ||
|
||
CMD ["keylime_verifier"] |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.