diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f31a762..c4e4122 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -26,4 +26,17 @@ // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "root" - } \ No newline at end of file + } + + //Notes: + // Set site url for wordpress + + // mysql -u exampleuser -p exampledb + + // UPDATE wp_options + // SET option_value = 'https://docker-development-youtube-series-4rjv9rg7hqrg9-80.githubpreview.dev' + // WHERE option_name = 'home'; + + // UPDATE wp_options + // SET option_value = 'https://docker-development-youtube-series-4rjv9rg7hqrg9-80.githubpreview.dev' + // WHERE option_name = 'siteurl'; \ No newline at end of file diff --git a/.devcontainer/dockerfile b/.devcontainer/dockerfile index 6245fc7..0126eb1 100644 --- a/.devcontainer/dockerfile +++ b/.devcontainer/dockerfile @@ -4,5 +4,9 @@ ARG KIND_VERSION=0.14.0 RUN apk add --no-cache curl docker-cli +RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl +RUN chmod +x ./kubectl +RUN mv ./kubectl /usr/local/bin/kubectl + RUN curl -L https://github.com/kubernetes-sigs/kind/releases/download/v${KIND_VERSION}/kind-linux-amd64 -o /usr/local/bin/kind && \ - chmod +x /usr/local/bin/kind \ No newline at end of file + chmod +x /usr/local/bin/kind \ No newline at end of file