Skip to content

Commit

Permalink
Merge pull request openshift#99 from smarterclayton/haproxy_build
Browse files Browse the repository at this point in the history
Bug 1810181: Wildcard is not needed to copy subdirectory in dockerfile
  • Loading branch information
openshift-merge-robot committed Mar 4, 2020
2 parents 0355114 + 1a473a2 commit 94fdea6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion images/router/haproxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN INSTALL_PKGS="haproxy20 rsyslog sysvinit-tools" && \
setcap 'cap_net_bind_service=ep' /usr/sbin/haproxy && \
chown -R :0 /var/lib/haproxy && \
chmod -R g+w /var/lib/haproxy
COPY images/router/haproxy/* /var/lib/haproxy/
COPY images/router/haproxy/ /var/lib/haproxy/
LABEL io.k8s.display-name="OpenShift HAProxy Router" \
io.k8s.description="This component offers ingress to an OpenShift cluster via Ingress and Route rules." \
io.openshift.tags="openshift,router,haproxy"
Expand Down
2 changes: 1 addition & 1 deletion images/router/haproxy/Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN INSTALL_PKGS="haproxy20 rsyslog sysvinit-tools" && \
setcap 'cap_net_bind_service=ep' /usr/sbin/haproxy && \
chown -R :0 /var/lib/haproxy && \
chmod -R g+w /var/lib/haproxy
COPY images/router/haproxy/* /var/lib/haproxy/
COPY images/router/haproxy/ /var/lib/haproxy/
LABEL io.k8s.display-name="OpenShift HAProxy Router" \
io.k8s.description="This component offers ingress to an OpenShift cluster via Ingress and Route rules." \
io.openshift.tags="openshift,router,haproxy"
Expand Down
2 changes: 1 addition & 1 deletion images/router/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN yum install -y nginx-${NGINX_VERSION} && \
ln -sf /var/lib/nginx/log/error.log /var/log/nginx/error.log && \
rm /etc/yum.repos.d/nginx.repo

COPY images/router/nginx/* /var/lib/nginx/
COPY images/router/nginx/ /var/lib/nginx/
LABEL io.k8s.display-name="OpenShift NGINX Router" \
io.k8s.description="This is a component of OpenShift and contains an NGINX instance that exposes ingress to services within the cluster through routes, and offers TLS termination, reencryption, or SNI-passthrough on ports 80 and 443."
USER 1001
Expand Down
2 changes: 1 addition & 1 deletion images/router/nginx/Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN yum install -y nginx-${NGINX_VERSION} && \
ln -sf /var/lib/nginx/log/error.log /var/log/nginx/error.log && \
rm /etc/yum.repos.d/nginx.repo

COPY images/router/nginx/* /var/lib/nginx/
COPY images/router/nginx/ /var/lib/nginx/
LABEL io.k8s.display-name="OpenShift NGINX Router" \
io.k8s.description="This is a component of OpenShift and contains an NGINX instance that exposes ingress to services within the cluster through routes, and offers TLS termination, reencryption, or SNI-passthrough on ports 80 and 443."
USER 1001
Expand Down

0 comments on commit 94fdea6

Please sign in to comment.