以下で紹介されていたコンテナのサイズが小さくなればいいなとためしてみた。
https://jun-app.com/laravel-on-docker/
単純にRUNを結合した飲み。 うちだとsystemdなコンテナは使えないので (Volumeのマウント的にも)、動作確認はしていない。
インストールパッケージを参考にさせてもらって別のベースイメージでつくってみようかな(独り言)
結果から:
| function Start-DNSClientLog { | |
| $DnsOpLog = Get-WinEvent -ListLog Microsoft-Windows-DNS-Client/Operational | |
| $DnsOpLog.IsEnabled = $true | |
| $DnsOpLog.SaveChanges() | |
| } | |
| function Get-DNSClientQueries { | |
| foreach($event in (get-winevent Microsoft-Windows-DNS-Client/Operational | % { [xml]$_.ToXml() })) { | |
| $Query = ($event.Event.EventData.Data | Where-Object { $_.Name -eq "QueryName" }).'#text' |
| # empty the stash | |
| $ git stash clear | |
| # objects can also be reached through the reflog. | |
| # while branches record the history of some project, reflogs record the history of these branches. | |
| # if you amend, reset etc. commits are removed from the branch history | |
| # but git keeps them around in case you realize that you made a mistake. | |
| # reflogs are a convenient way to find out what destructive (and other) operations were performed | |
| # on a branch (or HEAD), making it easier to undo a destructive operation. |
| package net.case_of_t.egpostgresmybatis.insertIgnoreUniqErrorDomain; | |
| import lombok.RequiredArgsConstructor; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.dao.DuplicateKeyException; | |
| import org.springframework.stereotype.Service; | |
| import org.springframework.transaction.PlatformTransactionManager; | |
| import org.springframework.transaction.TransactionDefinition; | |
| import org.springframework.transaction.TransactionStatus; | |
| import org.springframework.transaction.support.DefaultTransactionDefinition; |
| using JsonConvertOptionForm.Entity; | |
| using Newtonsoft.Json; | |
| using Newtonsoft.Json.Linq; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Diagnostics; | |
| using System.Drawing; | |
| using System.IO; |
| # put this file your ROOT of share folder. | |
| ## comments below are tips or examples | |
| # # a regular file (put both) | |
| # test-file | |
| # **/test-file | |
| # | |
| # # a dir (put both) | |
| # test-dir/ | |
| # **/test-dir/ | |
| # |
| <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
| <profiles> | |
| <profile> | |
| <id>my-local-repo</id> | |
| <repositories> | |
| <repository> | |
| <id>network-drive-repo</id> | |
| <name>Test Local Repository</name> | |
| <!-- copy %USERPROFILE%\.m2\repository as following directory --> |
以下で紹介されていたコンテナのサイズが小さくなればいいなとためしてみた。
https://jun-app.com/laravel-on-docker/
単純にRUNを結合した飲み。 うちだとsystemdなコンテナは使えないので (Volumeのマウント的にも)、動作確認はしていない。
インストールパッケージを参考にさせてもらって別のベースイメージでつくってみようかな(独り言)
結果から:
| ##!/usr/bin/env python3 | |
| import os | |
| import sys | |
| from pexpect.pxssh import pxssh as PXSSH | |
| import getpass | |
| class Debug_PXSSH(PXSSH): | |
| def sendline(self, input='') -> int: |
| version: "3" | |
| services: | |
| letschat: | |
| image: sdelements/lets-chat | |
| # image: lets-chat:2020-07-08 | |
| links: | |
| - mongo | |
| ports: | |
| - 8080:8080 |
| # coding: utf-8 | |
| from selenium import webdriver | |
| edge_options = { | |
| "executable_path": "/Users/takahiro/selenium-webdrivers/edge-83/msedgedriver", | |
| # ofcourse change path to driver you downloaded. | |
| "capabilities": { | |
| "platformName": 'mac os x', # I get this from Chrome driver's capabilities | |
| # "os" : "OS X", # also ok. | |
| } |