forked from Azure/run-command-handler-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.Dockerfile
More file actions
23 lines (19 loc) · 806 Bytes
/
Copy pathtest.Dockerfile
File metadata and controls
23 lines (19 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM debian:jessie
RUN apt-get -qqy update && \
apt-get -qqy install jq openssl ca-certificates && \
apt-get -qqy clean && \
rm -rf /var/lib/apt/lists/*
# Create the directories and files that need to be present
RUN mkdir -p /var/lib/waagent && \
mkdir -p /var/lib/waagent/Extension/config && \
mkdir -p /var/lib/waagent/Extension/status && \
mkdir -p /var/log/azure/Extension/VE.RS.ION
# Copy the test environment
WORKDIR /var/lib/waagent
COPY integration-test/env/ .
RUN ln -s /var/lib/waagent/fake-waagent /sbin/fake-waagent && \
ln -s /var/lib/waagent/wait-for-enable /sbin/wait-for-enable
# Copy the handler files
COPY misc/HandlerManifest.json ./Extension/
COPY misc/run-command-shim ./Extension/bin/
COPY bin/run-command-handler ./Extension/bin/